Lesson 1
Introduction to APIs
In this lesson, you'll learn what APIs are, how they're implemented, and why they're important. We'll also dive into the concepts of Internet Protocols and REST.
Course
In this project, you will use the skills you’ve developed to build a Trivia API. The goal of this project is to use APIs to control and manage a web application using existing data models. You’ll be given a set of data models and the application front end. Your task will be to implement the API in Flask to make the Trivia game functional.
In this project, you will use the skills you’ve developed to build a Trivia API. The goal of this project is to use APIs to control and manage a web application using existing data models. You’ll be given a set of data models and the application front end. Your task will be to implement the API in Flask to make the Trivia game functional.
3 weeks
Real-world Projects
Completion Certificate
Last Updated May 17, 2023
No experience required
Lesson 1
Introduction to APIs
In this lesson, you'll learn what APIs are, how they're implemented, and why they're important. We'll also dive into the concepts of Internet Protocols and REST.
Lesson 2
HTTP and Flask Basics
In this lesson, you'll learn about HTTP—including methods, requests, responses and status codes— as well as how to set up a Flask app, and implement and test endpoints using Curl.
Lesson 3
Endpoints and Payloads
In this lesson, you'll learn about how Flask is extensible in itself to handle different kinds of methods, more complex endpoints, and to return formatted data to the client.
Lesson 4
API Testing
This lesson teaches students the benefits and purposes of testing an API, Test-Driven Development for APIs and implementing the tests using unittest.
Lesson 5
API Documentation
To round out the course, students will consider and write API documentation and project documentation so their projects can be hosted, shared, and used by other developers with clarity.
Lesson 6 • Project
Project: Trivia API
In this project, you'll use your new API and API documentation skills to build a trivia API.
Caryn McCarthy
Instructor
Caryn has worked as a software developer and as Coach and Experience Manager at Code Next at Google. She is passionate about diversity and equity in tech, is always working to create positive impact in the tech industry and the world.
Caryn McCarthy
Instructor
Caryn has worked as a software developer and as Coach and Experience Manager at Code Next at Google. She is passionate about diversity and equity in tech, is always working to create positive impact in the tech industry and the world.
Get Started Today