GithubHelp home page GithubHelp logo

informeradm / flightradarapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeanextreme002/flightradarapi

0.0 0.0 0.0 69 KB

:airplane: API for Flight Radar 24 written in Python 3.

Home Page: https://pypi.org/project/FlightRadarAPI/

License: MIT License

Python 100.00%

flightradarapi's Introduction

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)

flightradarapi's People

Contributors

jeanextreme002 avatar dlunhappy226 avatar whiteh4tdude avatar cdfuller avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.