Skip to content

Conversation

@yesentorres
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 began exploring by reading the documentation pages for the specific methods we were going to implement. I also read some of their pages under "Planning your app" and "Designing a great experience". Even though what I read there was a bit out of my scope of understanding, I found it useful to know that an API for large, complex applications like Slack are actually composed of several APIs, each with very specific purposes.
Give a short summary of the request/response cycle. Where does your program fit into that scheme? In the request/response cycle, a client makes a request to a server and that server responds with a message about the status of that request, along with the body of the requested information (if successful). My program implements this scheme in the following ways: The class files act as clients and they are posing requests for user and channel data to the Slack API "server". The API then returns the requested data sets and my files pull specific data points from those data sets and uses it to create a CLI program.
How does your program check for and handle errors when using the Slack API? My program implements the VCR tool in testing to imitate API calls and verify the data sets results are "true".
How did the design and organization of your project change over time? The design schematic provided in the beginning of the project helped guide the development of this program in the right direction, therefore it did not change very much.
Did you use any of the inheritance idioms we've talked about in class? How? It did, "channel is a recipient" and "user is a recipient"
How does VCR aid in testing a program that uses an API? VCR helps reduce the number of actual API calls a program has to make, thus reducing its dependency on the uncertain, external nature of APIs.

@yesentorres
Copy link
Author

To instructor: I was unable to complete Wave 3, but would like the opportunity to finish this project over break if possible.

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