LESSON TITLE
LEARNING OUTCOMES
INTRODUCTION TO
APIs
•
Describe and explain the definition and use cases of APIs.
•
(Application Programming Interface).
•
Describe and explain how APIs are used to
connect application front
ends to server backends.
HTTP AND FLASK
BASICS
•
Describe and explain the Hypertext Transfer Protocol (HTTP).
•
Describe and explain the components of an HTTP request.
•
Describe and explain the different HTTP methods (verbs).
•
Describe and explain HTTP status codes.
•
Request information from a server using cURL and HTTP requests.
•
Install the Python Flask micro application framework.
•
Set up and Configure a Flask application.
•
Create a Flask endpoint (route).
Learn how to use APIs to control
and manage web applications, including best practices for API testing and
documentation.
In
this project, you will use the skills you’ve developed to build a Trivia API. The API will allow users to:
•
Search for trivia questions and answers via category and difficulty.
•
Add new questions.
•
Modify the difficulty rating of questions.
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.
Trivia API
Project
8
THE SCHOOL OF
PROGRAMMING AND DEVELOPMENT
Nanodegree Program Overview
Course 2: API Development and
Documentation
Learn More at
WWW.UDACITY.COM/ENTERPRISE
9
FULL STACK WEB DEVELOPER
Nanodegree Program Overview
Course 2: API Development and Documentation, cont.