OrbitScope
- 1 Devlogs
- 1 Total hours
slackbot that sends you a variety of different nasa data
slackbot that sends you a variety of different nasa data
Devlog 1: Beginning of OrbitScope
Started working on OrbitScope, this is my Slack bot for the Stardance Slack Bot mission. First, I made a command to ping the bot: /orbitscope-ping(as a sanity check).
Since I love space and everything about it, I decided to make a command thats shows you a random pic from space using the APOD nasa API, the api was pretty tricky to get working at first, but after some research I managed to make it work pretty well.
command: /orbitscope-space_pic
While I was coding this I noticed that sending the url of the nasa image wasn’t showing the image in the slack workspace but I found out that I could use: “type: image” which tells the slack bot to send the url as an image.
Furthermore, I started expanding my commands, I made a similar one to the space_pic command, instead of sending a APOD pick from the nasa api I used the mars rover pictures api, so it ended up being pretty easy to code.
command: /orbitscope-mars