Where is the International Space Station (ISS)?
@demo
code:
data:publiclast updated:3 years ago
@demo/
Where is the International Space Station (ISS)?

In this workflow, we'll:

  1. Get the latest position of the International Space Station (ISS) using the Open Notify API. This API doesn't require authentication so we can use Pipedream's HTTP/Webhook action to make a simple GET request.

  2. Next, we'll use an action for Open Cage Data to get the approximate location on Earth the ISS is passing over. To do that, we'll use the pre-built action so we don't have to write any code. We just need to connect our Open Cage Data account and pass the latitude and longitude returned in the previous step to the action.

  3. Next we'll construct a human readable summary of the ISS position using the point on Earth identified by Open Cage Data and the moment.js npm package (to convert the timestamp returned by the Open Notify API into a human readable date/time). We'll also include a URL to view the ISS position on Google Maps.

  4. Finally, we'll use an action to post a Tweet to https://twitter.com/whereistheiss. To use post the Tweet, we just need to connect our Twitter account and pass the return value of steps.iss_summary as the Tweet content.