mkorkmaz / flightradar24

Data library for Flight Radar 24 written in Python 3.

Home Page:https://pypi.python.org/pypi/flightradar24

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

usage is not clear for me, new in python

filipdns opened this issue · comments

hello, I'm trying to understand the usage of your project but I don't know how and where I have to do the call...

I'm under windows 10 and often work with qt, I want to include your project inside mine.

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

what I have to do exactly?...

thanks a lot for your help

This example just returns flights data of TK1 which displayed on the page : https://www.flightradar24.com/data/flights/tk1

This data may include scheduled flights, past flights, or current flight if the flight is live at that point.