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.
Installation
pip install ddima16-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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ddima16_flightradarapi-1.4.7.tar.gz.
File metadata
- Download URL: ddima16_flightradarapi-1.4.7.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ab9460d18df8f2ed8651167801ebd1e53a23ca957d89e9a2b62b0403d68463b
|
|
| MD5 |
b6cbbebb9c1fbc3530008808a183654c
|
|
| BLAKE2b-256 |
8b56cd064e098312e9107a2a8cbc60cd3d75ee9373a2e6706fc48fe2b01a7c3c
|
File details
Details for the file ddima16_flightradarapi-1.4.7-py3-none-any.whl.
File metadata
- Download URL: ddima16_flightradarapi-1.4.7-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c6f67f2527c1a837907918e6f475422858b399d30530c2da823e719a61aa0f2
|
|
| MD5 |
ac645484e5289c104002617850def881
|
|
| BLAKE2b-256 |
c39f26558d712709dec45080f3d3a9021de01f2250208092d6fbc8ab7dbc6349
|