Skip to content

Conversation

@aecombs
Copy link

@aecombs aecombs commented Mar 16, 2020

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 was really overwhelmed at first and needed to be walked through the process, but once I understood how to explore it I discovered what a powerful tool it is! It's definitely shown me that you can limit the powers of your app by forgetting to give it certain permissions, so that'll be handy to keep in mind in the future.
Give a short summary of the request/response cycle. Where does your program fit into that scheme? Request is an outgoing message to a separate entity to do something, a response is what that entity gives back to you. Mine does that with the list_all methods and get method, and also the send_message method...but not really, because I never got it to work within my CLI without getting an error...
How does your program check for and handle errors when using the Slack API? For response errors, I just directly check it "ok" was false.
How did the design and organization of your project change over time? I honestly borrowed heavily from Devin's design and organization. Only the bodies of methods were original.
Did you use any of the inheritance idioms we've talked about in class? How? I...don't remember what an inheritance idiom is, not by name.
How does VCR aid in testing a program that uses an API? It helps me make less calls and, if send_message would actually send a message, reduce spamming!

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