Today I spend my day by adding a new feature /csb-apd.
It’s basically a slash commond the calls NASA’s Astronomy Picture of the Day API and brings the data over to Slack. It sounds simple while hearing it. But getting data from external JSON and displaying the image is real trial and error. I had extract the image URL , title and description from NASA’s response. Then map them into the js for the slash command /csb-apd reference and sent it as nice media card.
Seeing the Pluto image finally render perfectly in the channel after hitting a few api errors was a massive win. Greatfully learned about API and there usability and integration in to any system or projects.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.