Add Pennyzo API status checker scripts, report viewer, and documentation

This commit is contained in:
2025-09-25 14:11:36 +05:30
parent df2a2b9412
commit aece15a286
16 changed files with 2291 additions and 6 deletions

36
scripts/run-api-check.ps1 Normal file
View File

@@ -0,0 +1,36 @@
# PowerShell script to run the Pennyzo API Status Checker
param (
[switch]$Verbose,
[switch]$NoReport,
[switch]$UseRealCredentials,
[switch]$Extended
)
$ScriptArgs = @()
if ($Verbose) {
$ScriptArgs += "--verbose"
}
if ($NoReport) {
$ScriptArgs += "--no-report"
}
if ($UseRealCredentials) {
$ScriptArgs += "--use-real-credentials"
}
# Determine which script to run
$ScriptPath = if ($Extended) {
"scripts\api-status-checker-extended.js"
}
else {
"scripts\api-status-checker.js"
}
# Display command that will be executed
Write-Host "Running: node $ScriptPath $ScriptArgs"
# Run the script
node $ScriptPath $ScriptArgs