You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

36m 1s logged

Changing spacefact into Spaceimage. Spacefact was the inital version, and was meant to give you a random spacefact. However, there are not many API’s that do this, and the one I found did not do it well. I did stumble across NASA’s APOD, and was quite intrigued. I then reverse-engineered their API for it (It was written in python) to work in Javascript. I then spent a while trying (and mostly failing) to display the image directly in slack. I eventually figured out not only how to display it using a block, but also how to make it appear in slack.

0

Comments 0

No comments yet. Be the first!