JeanExtreme002 / FlightRadarAPI

:airplane: Unofficial SDK for FlightRadar24 for Python 3 and NodeJS
https://pypi.org/project/FlightRadarAPI/
MIT License
286 stars 62 forks source link

any documentation on the search endpoint ? #58

Closed ptesny closed 8 months ago

ptesny commented 8 months ago

I cannot find any documentation on the search endpoint? Could you please provide a couple of examples of different search queries ? Thank you

JeanExtreme002 commented 8 months ago

The method receives any text, such as a code of an airport or airline, or the name of an airport or airline, or the registration of an aircraft, etc. Anything. It works the same way of seaching at the search bar of the website.


const { FlightRadar24API } = require("flightradarapi");

const frApi = new FlightRadar24API();

async function main() { 
    const result = await frApi.search("Lukla");
    // ...
} 
main();