Learn how to use APIs to control and manage web applications, including best practices for API testing and documentation.
Overview
Syllabus
- 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.
- 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.
- 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.
- 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.
- 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.
- Project: Trivia API
- In this project, you'll use your new API and API documentation skills to build a trivia API.
Taught by
Caryn McCarthy