flightradarapi
v1.4.0
Published
SDK for FlightRadar24
Maintainers
Readme
FlightRadarAPI
Unofficial SDK for FlightRadar24 for Python 3 and Node.js.
This SDK should only be used for your own educational purposes. If you are interested in accessing Flightradar24 data commercially, please contact [email protected]. See more information at Flightradar24's terms and conditions.
Official FR24 API: https://fr24api.flightradar24.com/
Installing FlightRadarAPI:
$ npm install flightradarapiBasic Usage:
Import the class FlightRadar24API and create an instance of it.
const { FlightRadar24API, Countries } = require("flightradarapi");
const frApi = new FlightRadar24API();Getting flights list:
let flights = await frApi.getFlights(...); // Returns a list of Flight objectsGetting airports list (requires country selection):
// Get airports from specific countries
let airports = await frApi.getAirports([Countries.BRAZIL, Countries.UNITED_STATES]); // Returns a list of Airport objectsGetting airlines list:
let airlines = await frApi.getAirlines(); // Returns detailed airline information with IATA/ICAO codesGetting zones list:
let zones = await frApi.getZones();Using Countries enum:
// Available countries in the Countries enum
const { Countries } = require("flightradarapi");
// Examples of country codes:
Countries.UNITED_STATES // "united-states"
Countries.BRAZIL // "brazil"
Countries.GERMANY // "germany"
Countries.FRANCE // "france"
// ... and many moreDocumentation
Explore the documentation of FlightRadarAPI package, for Python or NodeJS, through this site.
