Skip to content

Conversation

@sharonkeikei
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? API concept is all new to me, I learnt a lot and I am amazed by it how I can really interact with the real world internet!
Give a short summary of the request/response cycle. Where does your program fit into that scheme? Whenever I create a new Workspace, it will create a list of Users and Channel, which I send a request to slack API and get a response back from them.
How does your program check for and handle errors when using the Slack API? Since Slack API will still return 200 even their "Ok" is false, so we need to check that as well.
How did the design and organization of your project change over time? I started all over after Devin's lecture, I think I am still a little confused on the inheritance.
Did you use any of the inheritance idioms we've talked about in class? How? Yes, the abstract class and method. The recipient is kind of an abstract parent class for the User and Channel and there is some abstract method inside the recipient for the user and channel to use.
How does VCR aid in testing a program that uses an API? It is super useful and it saves time, even though not significantly in this small project, would be very helpful in large amount of date.

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