Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search on callsign or flight? #6

Open
E3V3A opened this issue Jan 22, 2018 · 5 comments
Open

Search on callsign or flight? #6

E3V3A opened this issue Jan 22, 2018 · 5 comments

Comments

@E3V3A
Copy link
Contributor

E3V3A commented Jan 22, 2018

Hi! Great client app.
Would it be possible to search on callsign or flight?

@derhuerst
Copy link
Owner

I assume it would. This client just queries the public Flighradar24 API that they use for their website.

A PR for this would be most welcome! You can check using the devtools of your browser to find the relevant HTTP request.

@E3V3A
Copy link
Contributor Author

E3V3A commented Feb 3, 2018

Let's try with one. Which one would be more relevant or useful? Perhaps callsign?

@derhuerst
Copy link
Owner

I don't know which would be useful. Both shouldn't be hard to implement though.

@neapolis123
Copy link

neapolis123 commented Aug 28, 2023

Any updates on this ? I am trying to get scheduled and actual departure times based on callsigns but I can't figure out the mapping/hashing function they are using for the API calls parameters. For example, If I look for flight with callsign TU397, the API call is having value https://data-live.flightradar24.com/clickhandler/?version=1.5&flight=**31c7831b** and for TU564 it's making a call with parameter flight set to 31c7ba47. so it's clear for this case at least that the first 4 alphanumeric characters are mapping to TU i.e the airline code (not sure if it's using IATA or ICAO codes) and the rest to the flight number. Did anyone by chance figure out how to go from callsign to "identification": {"id": "31c7ba47"} . Thanks

@derhuerst
Copy link
Owner

I think it is one of the flight IDs (id field in the radar() response, see readme), but I'm not sure what it is composed of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants