jiaqing-tee / starquest_jq

0 stars 0 forks source link

API training #3

Closed jiaqing-tee closed 4 months ago

jiaqing-tee commented 5 months ago

API Training

Playlist: https://www.youtube.com/playlist?list=PLLTou95Km32Q_4mlqahPCD6eIWMPfQ-bi

jiaqing-tee commented 4 months ago

REpresentational State Transfer (REST) API

Title: What is a REST API? Link: https://youtu.be/lsMQRaeKNDk

Takeaway

Benefits

Request

Response

jiaqing-tee commented 4 months ago

Designing API

Title: What is an API and how do you design it? 🗒️✅ Link: https://youtu.be/_YlYuNMTCc8

Takeaway

Best Practices

jiaqing-tee commented 4 months ago

API Paradigms: Request Response Type

Title: REST vs RPC vs GraphQL API - How do I pick the right API paradigm? Link: https://youtu.be/hkXzsB8D_mo

Takeaways

2 types of APIs

  1. Event driven APIs
  2. Request response APIs
    • Representational State Transfer (REST)
    • Remote Procedure Call (RPC)
    • GraphQL

REST APIs

RPC APIs

GraphQL APIs

jiaqing-tee commented 4 months ago

API Paradigms: Event Driven Type

Title: Webhooks vs Websockets vs HTTP Streaming - Which Event-Driven API to use? Link: https://youtu.be/6RvlKYgRFYQ

Takeaways

Types of event driven APIs

  1. WebHooks: Trigger the server to send events to pre-defined client endpoints
  2. WebSockets: Bi-directional communication between clients and servers
  3. HTTP Streaming: One-way communication over HTTP

1. WebHooks

2. WebSockets

3. HTTP Streaming