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|_ |Codacy|_

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

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

Data library for Flightadar24.com written in Python 3.


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.1.tar.gz (3.0 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.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flightradar24-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a323b2a6132f824d0fa029f5e89a739fda6a9bafb909ab2636287015aecbf1e8
MD5 e9847165dbce08dd9fbe402097497d6d
BLAKE2b-256 d19160e7d971a9e999eabd8a0c52faeb73763ce9b37ae4820e2e13810de1af08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flightradar24-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4514592a1c95239a1f33100034b15b236624d30dbab9d6e79cb2ade9cc7cf9bd
MD5 b3a95f0af65efe9a9d2d68ba5b79d0e0
BLAKE2b-256 2dc48c1f6c6e85abb9e4346e34b4e98123bc8d778d37694f0af713784530d1e2

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