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.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.