API_URL and API_KEY with your values before running.
Full-featured client class with all operations
python_alerts.pyShell script for cron jobs and simple automation
bash_alerts.shAsync/await client with ES modules support
nodejs_alerts.jsStrongly-typed client implementation
go_alerts.goWindows-friendly with cmdlet-style functions
powershell_alerts.ps1Native PHP client class
php_alerts.phpOpen your project in Web of Facts, go to Project Settings → API Keys, and create a new key.
Alerts must link to existing entities. Create the entities you want to monitor in your project.
Download an example file and update the configuration:
API_URL = "https://your-domain.com/api/external/alerts" API_KEY = "wof_xxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" TARGET_ENTITY = "your-entity-name"
# Python pip install requests python python_alerts.py # Bash chmod +x bash_alerts.sh ./bash_alerts.sh # Node.js node nodejs_alerts.js # Go go run go_alerts.go # PowerShell .\powershell_alerts.ps1 # PHP php php_alerts.php
For complete API documentation including all parameters, response formats, and error handling: