Skip to content

Conversation

@Shonda860
Copy link

Assignment Submission: Slack CLI

Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.

Reflection

Question Answer
How did you go about exploring the Slack API? Did you learn anything that would be useful for your next project involving an API? I watched a lot of videos and talked to tons of people. I learned the purpose of postman and hiding my tokens!
Give a short summary of the request/response cycle. Where does your program fit into that scheme? believe we request that the api does something and the response we get is based on the query and parms
How does your program check for and handle errors when using the Slack API? I handled errors using mostly and unless != true. However, for messages, I used an if and or boolean because I figured there would be more chances that an error would occur when sending messages.
How did the design and organization of your project change over time? I originally only wanted a menu and case statement. However, I needed to be able to continue the program after each selection and it made more sense to use a while loop with if /else statements.
Did you use any of the inheritance idioms we've talked about in class? How? User and Channel inherited from Recipient a get and post response
How does VCR aid in testing a program that uses an API? It saves the data so each time you run the test you are using the same data also it gets around API limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant