Skip to content

Conversation

@veralizeth
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? Yes, I think the most important part was learning how to read the documentation. Every API is different for me, reading documentations is key, also postman and super useful tool.
Give a short summary of the request/response cycle. Where does your program fit into that scheme? My program for the request/response in the recipient class, self_get and send_message are the methods within the parent class that fit. Also within the user and channel class to get all the users and channels.
How does your program check for and handle errors when using the Slack API? When a response is different from 200 and the parse response is different from ok. I have the SlackAPIError < Exception
How did the design and organization of your project change over time? It did not change much, I have the same classes to start until the end. I change the way i test the recipient and the workspace separately.
Did you use any of the inheritance idioms we've talked about in class? How? Recipient as an abstract class, list_all and details as template methods.
How does VCR aid in testing a program that uses an API? Because it records the HTTP test interactions and I can access during future tests, to get them fast and determinist.

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