Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

mkorkmaz/flightradar24

Repository files navigation

flightradar24.py

IMPORTANT: Flightradar changed their internal API, this library is no longer functional.

===================================================================================

Travis Codacy Coveralls Scrutinizer

Data library for Flightadar24.com written in Python 3.

If you want to use the data collected using this library commercially, You need to subscribe to Business Plan. See details at https://www.flightradar24.com/premium/ <https://www.flightradar24.com/premium/>_

Installing flightradar24.py

pip3 install flightradar24

Getting airports list

import flightradar24
fr = flightradar24.Api()
airports = fr.get_airports()

Getting airlines list

import flightradar24
fr = flightradar24.Api()
airlines = fr.get_airlines()

Getting flights list

import flightradar24
airline = 'THY' # Turkish Airlines
fr = flightradar24.Api()
flights = fr.get_flights(airline)

Getting flight details

import flightradar24
flight_id = 'TK1' # Turkish Airlines' Istanbul - New York flight
fr = flightradar24.Api()
flight = fr.get_flight(flight_id)

Notes

  • flightradar24.py will not follow the semantic versioning scheme <http://semver.org/>_ until the version 1.0.0. So there may be BC breaks.

Credits

  • Mehmet Korkmaz <http://github.com/mkorkmaz>_