Skip to main content

Unofficial SDK for FlightRadar24 with Cloudflare bypass support (fork)

Project description

FlightRadarAPI — Python

Unofficial SDK for FlightRadar24 for Python 3, with integrated Cloudflare bypass support.

Fork notice: This is a maintained fork of JeanExtreme002/FlightRadarAPI, adding Cloudflare Worker proxy support for both Python and Node.js.

This SDK should only be used for educational purposes. See FlightRadar24's terms and conditions.

PyPI License Python Version

Installation

pip install FlightRadarAPI

🛡️ Cloudflare Bypass (Required)

FlightRadar24 uses Cloudflare protection. You must deploy a Cloudflare Worker proxy first.

Cloudflare Workers are free for up to 100,000 requests per day — perfect for personal and educational use.

Deploy to Cloudflare

Or deploy manually — see the worker source code.

Basic Usage

from FlightRadar24 import FlightRadar24API, Countries

# Initialize with your worker proxy URL
fr_api = FlightRadar24API(proxy_url="https://your-worker.workers.dev/?url=")

# Or use an environment variable instead:
# export FR24_PROXY_URL="https://your-worker.workers.dev/?url="
# fr_api = FlightRadar24API()

Getting flights list:

flights = fr_api.get_flights()

Getting airports list (requires country selection):

airports = fr_api.get_airports([Countries.BRAZIL, Countries.UNITED_STATES])

Getting airlines list:

airlines = fr_api.get_airlines()

Getting zones list:

zones = fr_api.get_zones()

Search:

results = fr_api.search("Paris")

Getting flight details:

flights = fr_api.get_flights(airline="DAL")
details = fr_api.get_flight_details(flights[0])

Maintained with ❤️ by @ddima16

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

ddima16_flightradarapi-1.4.1.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

ddima16_flightradarapi-1.4.1-py3-none-any.whl (21.1 kB view details)

Uploaded Python 3

File details

Details for the file ddima16_flightradarapi-1.4.1.tar.gz.

File metadata

  • Download URL: ddima16_flightradarapi-1.4.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for ddima16_flightradarapi-1.4.1.tar.gz
Algorithm Hash digest
SHA256 c4f7be3b1141e4cb3b4113b833440d2814b2a82c28ca274b3937b631c03267b5
MD5 6ae754e2e1cbe1c1c8d73a949c2dfffa
BLAKE2b-256 bc486d9193c7857f8c411f282c5063cb8d89dee96b51541971abf8dacd78f821

See more details on using hashes here.

File details

Details for the file ddima16_flightradarapi-1.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ddima16_flightradarapi-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c6df87c1ea81e2b85f5f6004b27229d22123944242d90ad42882822c17c87a8
MD5 b01535743260d12ae3cc8d52eaf5f443
BLAKE2b-256 b270da73f5a406800d85a72a6bf424f9213b66e8bd423927fa401710bdd51039

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