FlightRadarAPI icon indicating copy to clipboard operation
FlightRadarAPI copied to clipboard

add categories and callsign to get_flights

Open Andrechang opened this issue 1 year ago • 2 comments

add categories filter for get flights #42

Andrechang avatar Aug 24 '24 14:08 Andrechang

Hi, @Andrechang!

First of all, thank you for your contribution! I tested the category filter, but it doesn’t seem to be working.

fr_api.get_flights(categories="H")  # It is also returning aircrafts and balls,,,

Could you please confirm this feature?

JeanExtreme002 avatar Aug 28 '24 14:08 JeanExtreme002

Hi, @JeanExtreme002

you are right. strange it doesnt follow this https://fr24api.flightradar24.com/docs#flights ?

but callsigns works, is ok to keep that addition ? flights = fr_api.get_flights(callsigns="VXP176")

Andrechang avatar Aug 28 '24 17:08 Andrechang