websupport-sk / domain-catcher
Cron script to order domain via WebSupport API https://rest.websupport.sk/docs
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:script
pkg:composer/websupport-sk/domain-catcher
Requires
- php: ^8.3
- symfony/dotenv: ^7.2
Requires (Dev)
- roave/security-advisories: dev-latest
README
Order domain when it becomes available for registration via WebSupport API v1 https://rest.websupport.sk/docs/v1.intro
Installation
- Run
composer require websupport/domain-catcher - Copy
vendor/websupport-sk/domain-catcher/.env.exampleto.env - Update API
identifier,secretanduser IDin.envwith your own from https://admin.websupport.sk/en/auth/security-settings
Development
- Run
composer install - Copy
.env.exampleto.env - Replace API identifier, secret and user ID in
.envwith your own from https://admin.websupport.sk/en/auth/security-settings - Set
DRY_RUNtotrueif you want to test the script without actually ordering the domain.
Usage
Set cron to URL http://localhost:8000/cron/?domains[]=test.sk&domains[]=test2.sk&...
Xdebug
Append query param XDEBUG_SESSION=1 to the URL to enable debug mode.