Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Plotting ISS in Real Time With Mapbox

Blog post from PubNub

Post Details
Company
Date Published
Author
Anmol Agrawal
Word Count
1,462
Language
English
Hacker News Points
-
Summary

The text details a project that uses Open Notify's API and PubNub to track and display the location of the International Space Station (ISS) in real-time. The author begins by expressing their fondness for the IFTTT app, which inspired them to create a custom solution that sends notifications when the ISS is overhead. By utilizing Open Notify's simple API, the project retrieves ISS coordinates, processes them through a server-side script with npm packages 'get-json' and 'pubnub', and publishes the data through PubNub. On the client side, a basic HTML file using Mapbox and JavaScript displays the ISS location on a map, updating in real-time as new data is received. The project serves as a demonstration of streaming dynamic data from a source and publishing it elsewhere, with potential applications in tracking real-time stock market data.