opensky2cot
opensky2cot copied to clipboard
Error Response 429 - Too many requests error due to new API limitations.
The OpenSky API used for this project now has new limitations (https://openskynetwork.github.io/opensky-api/rest.html#limitations).
Specifically only 100 API requests for anonymous users. Could you add in how to implement a username and password please? This way you can get 1000 API calls in a day, meaning an update every 90 seconds which is acceptable.
Thanks!
Find the line r = requests.get(url)
and replace with r = requests.get(url, auth=("youropenskyusername", "password"))