It happens that you look up while watching an airplane and want to know about it:
- what is it?
- where is it coming from?
- Where is it going, where is it headed, etc.?
- If you have questions like this in your head from time to time, then you are definitely reading the right article!
When Telegram released its own API for creating bots, I decided to experiment with it. As a result, I created a bot that could send me information about the nearest airplanes from my location directly to my Telegram messenger. And guess what? It turned out to be quite useful!
In a nutshell, I used the Vincenty’s formula to calculate the distance between my location and the nearest airplane. You won’t see this information, as it is publicly closed and can only be viewed on FlightRadar24 or its analogs. What I did was to reverse FlightRadar24’s web queries and reproduce them in my NodeJS application.
Leave a Reply