Hello support,
Today I tried to use the AeroAPI with python. However, I get the 401 error.
The code I ran :
######################################"
apiKey = “my_api_key”
apiUrl = “https://aeroapi.flightaware.com/aeroapi”
headers = {‘x-apikey’: apiKey}
r = requests.get(apiUrl, headers=headers)
r.status_code
###############################################"
This is the first time I try to use an API. It’s probably a rookie mistake.
Thank you for your answers.