JeanExtreme002 / FlightRadarAPI

:airplane: Unofficial SDK for FlightRadar24 for Python 3 and NodeJS
https://pypi.org/project/FlightRadarAPI/
MIT License
296 stars 60 forks source link

Get historical flight ID #85

Open Jamesm-98 opened 2 months ago

Jamesm-98 commented 2 months ago

For context, my use case is that I'd like to collect CSV/KML data for all the flights I've flown on. I have a list prepared of flight numbers, dates, registrations already (through my.flightradar24), and I'm just working on the concept right now.

I'm trying to use get_history_data, but have realised I need a flightID. I can get flightIDs for live flights using get_flights, but I can't work out a way to get flightIDs for historical flights. Am I right in thinking this is not possible? If so, is there an API limitation that means this can't be done?

I have a Gold membership, so can go into Flightradar manually and download the data for the last 365 days, but I'd like to automate this and build my own map of flight tracks.

Thanks in advance!