I'm getting errors for all methods of access:
# Anon user
url = ""
r = (url)
print()
502
# Request for 1 hour of data, anonymous:
begin = int(datetime(2023, 12, 8, 0, 0, 0, tzinfo=).timestamp())
begin = int(() - 3600)
end = int(())
print(begin)
print(end)
url = "{begin}&end={end}"
r = (url, auth=(uname, pwd))
# Request for all states, with authentication
url = ""
uname = "..."
pwd = "..."
import requests
r = (url, auth=(uname, pwd))
I also tried OpenSkyApi
from opensky_api import OpenSkyApi
api = OpenSkyApi()
s = ()
print(s)
None
and this one (as the docs for the API say I can get up to 7 days of data):
import time
from datetime import datetime, timezone
begin = datetime(2023, 12, 8, 0, 0, 0, tzinfo=).timestamp()
end = ()
arrivals = ("RPUH", begin=begin, end=end)
print(type(arrivals))
<class 'NoneType'>
Are there any working examples out there?
The Impala data request form is currently not working.