This repository has been archived on 2023-07-16. You can view files and clone it, but cannot push or open issues or pull requests.
hackaday.io-spambot-hunter/hadsh/hadapi
Stuart Longland 5cd0afb196
hadapi: Re-work forbidden handling.
Rather than a dumb wait of an hour, we simply set a flag that's exposed
elsewhere.  Our background tasks can check that flag instead and inhibit
their operations themselves.

If a user action that requires API access, succeeds, the flag is
cleared and the background tasks resume.

The background tasks auto-retry after an hour.
2018-01-11 20:40:04 +10:00
..
__init__.py hadapi: Add beginnings of API wrapper 2018-01-06 16:07:45 +10:00
hadapi.py hadapi: Re-work forbidden handling. 2018-01-11 20:40:04 +10:00