Hi all,
Apologies if this is posted in the wrong subforum, not sure which one it falls into as it's not really to do with the web app or to do with feeding data from FR24, but rather the opposite, pulling data using the FR24 API.
When I query the FR24 API using the following Python script, I only ever obtain 1500 flights (verified with the length call and also exporting all the flights to a CSV). Does anyone know anything more about the FR24 API and whether this is a limitation of the free service or am I doing something wrong?
Any help appreciated, thanks so much.
Apologies if this is posted in the wrong subforum, not sure which one it falls into as it's not really to do with the web app or to do with feeding data from FR24, but rather the opposite, pulling data using the FR24 API.
When I query the FR24 API using the following Python script, I only ever obtain 1500 flights (verified with the length call and also exporting all the flights to a CSV). Does anyone know anything more about the FR24 API and whether this is a limitation of the free service or am I doing something wrong?
Code:
import pandas as pd from flightradar24.api import FlightRadar24API fr_api = FlightRadar24API() flights = fr_api.get_flights() print(len(flights)) newDF = pd.DataFrame(flights) newDF.to_csv("flights.csv")