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_flights doesn't retrieve data #49

Closed Gnesus closed 11 months ago

Gnesus commented 11 months ago

Describe the bug When I use get_flights method doesn't retry any flight that it does before

To Reproduce flights = fr_api.get_flights()

Expected behavior A list of flight

Screenshots image

System (please complete the following information):

JeanExtreme002 commented 11 months ago

Did you set any bounds or any config for the fr_api object? I ran tests again and it's working.

Gnesus commented 11 months ago

Yes, i use bounds and without bounds for testing datas: image

fr_api = FlightRadar24API() image

I tried this request also: https://data-live.flightradar24.com/zones/fcgi/feed.js image

image

JeanExtreme002 commented 11 months ago

The URL the package uses to get flights currently is https://data-cloud.flightradar24.com/zones/fcgi/feed.js. It seems you are using an old version of the FlightRadarAPI. Update it =)

Gnesus commented 11 months ago

you was right, i updated few days ago but for some reason it dowsn't i uninstalled and installed and now it works. THanks so much and sorry for the non-issue