kayali436 / Coursework-Planner-CYF

Your coursework planner
0 stars 0 forks source link

[TECH ED] APIs #255

Closed kayali436 closed 8 months ago

kayali436 commented 8 months ago

From Module-Servers created by SallyMcGrath: CodeYourFuture/Module-Servers#140

Link to the coursework

https://github.com/CodeYourFuture/Module-Node

Why are we doing this?

Think carefully and try to answer the following questions:

  1. Define an interface? (Think about the answer in multiple contexts, including programming )
  2. Explain why do we need to use an interface in programming? (Advanced)
  3. List 3 things that are part of the NodeJS API
  4. List 3 things that are part of the Jest API
  5. List 3 things that are part of the Spotify API
  6. Explain why Jest is not a web-based API and why Spotify is a web-based API.

Maximum time in hours

.5

How to get help

⏰ Don't spend longer than 30 minutes on this exercise 📝 Make a note of any questions you've struggled to answer. Raise these on Slack before Saturday's session so mentors know what to focus on

How to submit

Post in the thread on Slack. If there is no thread yet, start one.

How to review

Compare your answers during study group in class. What can you learn from each other?

Anything else?

If you use ChatGPT to answer these questions, you have missed the point of this course and you are now fully wasting everyone's time. Don't use LLM for this assignment. The point of this assignment is to find out what you, the human person, need help with in class.

kayali436 commented 8 months ago

Define an interface? This includes things like buttons, dropdown, and other elements that programmers use to refer to adhere to an interface. Explain why do we need to use an interface in programming? (Advanced) List 3 things that are part of the NodeJS API = POST, GET,PUT List 3 things that are part of the Jest API= getBy() expect() toBe() List 3 things that are part of the Spotify API= retrieve data, search content, play and resume. Explain why Jest is not a web-based API and why Spotify is a web-based API. spotify needs to retrieve more data and send more data.