flightradarapi
Advanced tools
Comparing version 1.3.27 to 1.3.28
@@ -21,3 +21,3 @@ /** | ||
const author = "Jean Loui Bernard Silva de Jesus"; | ||
const version = "1.3.27"; | ||
const version = "1.3.28"; | ||
@@ -24,0 +24,0 @@ module.exports = { |
{ | ||
"name": "flightradarapi", | ||
"version": "1.3.27", | ||
"version": "1.3.28", | ||
"description": "SDK for FlightRadar24", | ||
@@ -5,0 +5,0 @@ "main": "./FlightRadar24/index.js", |
# FlightRadarAPI | ||
Unofficial SDK for [FlightRadar24](https://www.flightradar24.com/) for Python 3 and NodeJS. | ||
Unofficial SDK for [FlightRadar24](https://www.flightradar24.com/) for Python 3 and Node.js. | ||
@@ -14,13 +14,37 @@ If you want to use the data collected using this SDK commercially, you need to subscribe to the [Business plan](https://www.flightradar24.com/premium/).</br> | ||
[![Frequency](https://img.shields.io/pypi/dm/flightradarapi?style=flat&label=frequency)](https://pypi.org/project/FlightRadarAPI/) | ||
## Installing FlightRadarAPI | ||
**For Python with pip:** | ||
## Installing FlightRadarAPI: | ||
``` | ||
pip install FlightRadarAPI | ||
$ npm install flightradarapi | ||
``` | ||
**For NodeJS with npm:** | ||
## Basic Usage: | ||
Import the class `FlightRadar24API` and create an instance of it. | ||
```javascript | ||
const { FlightRadar24API } = require("flightradarapi"); | ||
const frApi = new FlightRadar24API(); | ||
``` | ||
npm install flightradarapi | ||
**Getting flights list:** | ||
```javascript | ||
let flights = await frApi.getFlights(...); // Returns a list of Flight objects | ||
``` | ||
**Getting airports list:** | ||
```javascript | ||
let airports = await frApi.getAirports(...); // Returns a list of Airport objects | ||
``` | ||
**Getting airlines list:** | ||
```javascript | ||
let airlines = await frApi.getAirlines(); | ||
``` | ||
**Getting zones list:** | ||
```javascript | ||
let zones = await frApi.getZones(); | ||
``` | ||
## Documentation | ||
Explore the documentation of FlightRadarAPI package, for Python or NodeJS, through [this site](https://JeanExtreme002.github.io/FlightRadarAPI/). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52694
49