Skip to content

Conversation

@mulhoo
Copy link

@mulhoo mulhoo 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? the table_print was super useful at first, and I will definitely be using it in the future. One problem that came up later for a reason I still cannot figure out, was that the table started printing incorrectly and my slackbot guy would message me saying he sent it to slack. Once I discover why that is happening it will be something I know to look out for later.
Give a short summary of the request/response cycle. Where does your program fit into that scheme? I am requesting certain information from the API, and then responding so it knows what to do as well.
How does your program check for and handle errors when using the Slack API? It uses the cassettes in various places to ensure things are running correctly, and the correct information is accessed. The users and channels is the best example of this.
How did the design and organization of your project change over time? It was nice to have the instructor-design as a reference. I found most of my design changes were around tests and how many test files I would use.
Did you use any of the inheritance idioms we've talked about in class? How? Yes, following the instructor design as well as building off Devin's Wave 1 live-code (which was incredibly helpful to have by the way, especially since some of this was hard to put into practice), user and channel inherited attributes from recipient.
How does VCR aid in testing a program that uses an API? Not having to constantly be connected to the internet was a huge aid for this project since my internet has been pretty awful this week. Having the cassettes there to use as needed meant I didn't have to cry over my internet every 5 minutes.

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