Introduction to Web APIs: Fetch API
Difficulty: Advanced
Duration: 5 minutes and 2 seconds
Students: 144
Rating: 5/5
This practical lesson offers an introduction to the Fetch API.
Learning Objectives
- Understand what Fetch APIs are
- Learn how to:
- Pass through a URL to get a response
- Analyze a JSON response
- Parse JSON with the .json() method
- Extract a specific piece of data from the response
- Use the Fetch API in conjunction with a higher order function
Intended Audience
This lesson is intended for anyone who wants to learn about the Fetch API.
Prerequisites
Anyone with an interest in the Fetch API or Web APIs in general.
The following lesson serves as a primer on JavaScript Promises that the Fetch API uses: Introduction to JavaScript Promises
The following lesson serves as a primer for the higher order Map function used in this video: Introduction to Higher Order Functions: Map & Filter
Covered Topics