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()
airlines = 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.1.2.tar.gz (3.2 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.1.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flightradar24-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flightradar24-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3e821745aab64253e751fd3da7dccd506c5e94e6452d210ea038367b60fd01bd
MD5 77b431b6d2b6df346fa6ea9bbf464f59
BLAKE2b-256 5d902278057b8b2d4263253253542d0f40f78cbe8f54054b34ef1cb2529c7227

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flightradar24-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 80a5bb23b8e2c4ef017ea7690af527d1a8aab2e750fe80f22027450cbb8ebb45
MD5 1befc4cf6d54929678711606987ca40d
BLAKE2b-256 009e3105891210f22a2fda38c6ffd59ae7ec208af788791c2adb9497f62ada6f

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