Skip to main content

Data library for Flight Radar 24

Project description

Copyright (c) 2017 Mehmet Korkmaz <mehmet@mkorkmaz.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Description: flightradar24.py
================

|Travis|_ |Coveralls|_ |Codacy|_ |Scrutinizer|_

.. |Travis| image:: https://api.travis-ci.org/mkorkmaz/flightradar24.svg?branch=master
.. _Travis: https://travis-ci.org/mkorkmaz/flightradar24

.. |Codacy| image:: https://api.codacy.com/project/badge/Grade/8c51d54a63c44c88839d07f61848df6d
.. _Codacy: https://www.codacy.com/app/mehmet/flightradar24/

.. |Coveralls| image:: https://coveralls.io/repos/github/mkorkmaz/flightradar24/badge.svg?branch=master
.. _Coveralls: https://coveralls.io/github/mkorkmaz/flightradar24?branch=master

.. |Scrutinizer| image:: https://scrutinizer-ci.com/g/mkorkmaz/flightradar24/badges/quality-score.png?b=master
.. _Scrutinizer: https://scrutinizer-ci.com/g/mkorkmaz/flightradar24/?branch=master

Data library for Flightadar24.com written in Python 3.

If you want to use the data collected using this library commercially, You need to subscribe to Business Plan. See details at `https://www.flightradar24.com/premium/ <https://www.flightradar24.com/premium/>`_


Installing flightradar24.py
===========================

.. code-block:: bash

pip3 install flightradar24


Getting airports list

.. code-block:: python

import flightradar24
fr = flightradar24.Api()
airports = fr.get_airports()

Getting airlines list

.. code-block:: python

import flightradar24
fr = flightradar24.Api()
airlines = fr.get_airlines()

Getting flights list

.. code-block:: python

import flightradar24
airline = 'THY' # Turkish Airlines
fr = flightradar24.Api()
flights = fr.get_flights(airline)


Getting flight details

.. code-block:: python

import flightradar24
flight_id = 'TK1' # Turkish Airlines' Istanbul - New York flight
fr = flightradar24.Api()
flight = fr.get_flight(flight_id)


Notes
=====

* flightradar24.py will not follow the `semantic versioning scheme <http://semver.org/>`_ until the version 1.0.0. So there may be BC breaks.


Credits
=======

* `Mehmet Korkmaz <http://github.com/mkorkmaz>`_



Platform: UNKNOWN

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

flightradar24-0.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

flightradar24-0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file flightradar24-0.2.tar.gz.

File metadata

  • Download URL: flightradar24-0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

File hashes

Hashes for flightradar24-0.2.tar.gz
Algorithm Hash digest
SHA256 23a093dc48b064e9105e0bab0998b5442d5e63ad3feb8120beb477b22143fabb
MD5 0826b6ded51fc8ddc4da7a9031c48792
BLAKE2b-256 cd645b57d1b53848c41cd3b9e03982d5d7cb7495eef48c6c7bbb3bf4799d3c74

See more details on using hashes here.

File details

Details for the file flightradar24-0.2-py3-none-any.whl.

File metadata

  • Download URL: flightradar24-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

File hashes

Hashes for flightradar24-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5c8de334dcb700a7558d4bd25875219827d94ee891b846170fcce036522d482
MD5 8c0ca7af61dc07bf2ee05f3cb67f3f75
BLAKE2b-256 8be4d367a51c378d20bcb863b70946397585bde347684e72a8ef2473ddee149c

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