Skip to main content

API for FlightRadar24

Project description

FlightRadarAPI

Unofficial API for Flight Radar 24 written in Python 3.

If you want to use the data collected using this API commercially, you need to subscribe to the Business plan.
See more information at: https://www.flightradar24.com/terms-and-conditions

Python Package Pypi License Python Version Downloads

Installing FlightRadarAPI:

pip3 install FlightRadarAPI

Basic Usage:

Just create a FlightRadar24API object after importing it.

from FlightRadar24.api import FlightRadar24API
fr_api = FlightRadar24API()

Getting airports list:

airports = fr_api.get_airports()

Getting airlines list:

airlines = fr_api.get_airlines()

Getting flights list:

flights = fr_api.get_flights()

Getting zones list:

zones = fr_api.get_zones()

You can also get more information about a specific flight such as: aircraft images, estimated time, trail, etc.

details = fr_api.get_flight_details(flight.id)
flight.set_flight_details(details)

print("Flying to", flight.destination_airport_name)

Filtering flights and airports:

Getting flights by airline:

airline_icao = "AZU"
thy_flights = fr_api.get_flights(airline = airline_icao)

Getting flights by bounds:

bounds = fr_api.get_bounds(zone)
flights = fr_api.get_flights(bounds = bounds)

Getting airport by ICAO or IATA:

airport_icao = "VNLK"
lukla_airport = fr_api.get_airport(airport_icao)

Getting and configuring Real-time Flight Tracker parameters:

params = fr_api.get_real_time_flight_tracker_config()
set_real_time_flight_tracker_config(**new_config)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FlightRadarAPI-1.1.9.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FlightRadarAPI-1.1.9-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file FlightRadarAPI-1.1.9.tar.gz.

File metadata

  • Download URL: FlightRadarAPI-1.1.9.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for FlightRadarAPI-1.1.9.tar.gz
Algorithm Hash digest
SHA256 01035c94a4f15ce4f473300344111fe4985daa9022bcc338ce0a6c68c04c80e2
MD5 7dac7a91003e899894eb81f533ae5349
BLAKE2b-256 7fcf894584e4baed3ae273788b230f5d49b3bae335d818d4fe7497fdd82d6770

See more details on using hashes here.

File details

Details for the file FlightRadarAPI-1.1.9-py3-none-any.whl.

File metadata

  • Download URL: FlightRadarAPI-1.1.9-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for FlightRadarAPI-1.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2de075996708187029756c5fa4f7853dc3b11bf1146346039dac834537fa61d6
MD5 540d7dd79d506efc3898303870af3670
BLAKE2b-256 b0b6f3a25c0c45a2f7e11f3a45d3273badc396fc593407f2a4a125546eff2efd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page