Working with APIs

test@gmail.com3/19/2026, 11:11:13 PM

Introduction

APIs let you fetch real data.

Example

fetch("https://api.example.com")
  .then(res => res.json())
  .then(data => console.log(data));

JSON

Data format used in APIs.

Mini Project

Recap

APIs connect your app to the world.