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-Content-Type: UNKNOWN
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.3.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.1.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flightradar24-0.1.3.tar.gz
Algorithm Hash digest
SHA256 57224cd304897602703f51ced115aec0fe9d655719c56774e4c0ec5dd05a9bb0
MD5 8b62410c87a7cc600f4688c9860bfa05
BLAKE2b-256 cdd6997b9c86dd123e57069b35eb62a1fd10b286720a1c5287790b814e25b629

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flightradar24-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 10d3473e74d94a320584c15e48b5abf3cd2f936a03a66f8bdb67a1cf9932501a
MD5 04f647436d90c3a750d7fb7ba49bf3e9
BLAKE2b-256 cc0f5d343d89584f8c1a7700cd4514dd3a9205572206927187eb113857614685

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