Python 201 APIs and API Design with Python

Code: PY201API
Duration: 5 Days
Delivery methods:   Classroom, Virtual Learning, Onsite Event
Price per delegate: $2,395.00
Trained over 60000 delegates
Delivered by world class instructors
Highly competitive pricing
Capped class sizes
Post course support

Course Description

Application Programming Interfaces (APIs) have become increasingly important as they provide developers with connectivity to everything from rich datasets in an array of formats (such as JSON) to exposing the configurability of software applications and network appliances. Lessons and labs focus on using Python to interact, design, and build APIs for the purposes of scripting automated solutions to complex tasks. Class is a combination of live demonstrations and hands-on labs.

Target Student

  • System Administrators
  • Network Engineers
  • Software Developers
  • Python Enthusiasts

Course Objectives

  • Client-side Python Scripting to RESTful (and non-RESTful) APIs
  • Design RESTful API interfaces with Flask Web Framework
  • Overview of Django
  • Deploy your Python web apps as Docker containers
  • Parse and manipulate popular data structures (JSON, CSV, Excel, and YAML) as pandas dataframes
  • Best practice techniques
  • AI LLM prompt engineering for generating jumpstart solutions

Course Content

LLM AI Toolkit

  • Lecture + Lab: Large Language Model toolkit for AI Solution Assistance

Intro to APIs

  • Lecture: Intro to APIs

Software Control Management

  • Lecture + Lab: SCM Option #1 - GitHub
  • Lecture + Lab: SCM Option #2 - GitLab


  • Lecture: Object-Oriented Programming for APIs
  • Lecture: Practical Application of Lists
  • Lecture + Lab: Lists
  • Lecture: Practical Application of Dict
  • Lecture + Lab: Dictionaries
  • Challenge: List and Dict Modeling
  • Lecture + Lab: Your First API Request

Working with JSON Data

  • Lecture: Python Data Sets vs JSON
  • Lecture + Lab: Python Data to JSON file


  • Lecture: Introduction to HTTP
  • Lecture + Lab: Standard vs. Third-Party Libraries and Open APIs
  • Lecture + Lab: requests library - Open APIs
  • Lecture + Lab: requests library - RESTful GET and JSON parsing
  • Lecture: APIs and JSON Decode
  • Challenge: Key-pairs and HTTP GET

RESTful APIs beyond HTTP GET

  • Lecture: HTTP GET vs HTTP POST
  • Lecture + Lab: requests library - GET vs POST to REST APIs


  • Lecture + Lab: APIs and Dev Keys
  • Lecture + Lab: RESTful APIs and Dev Keys
  • Lecture: OAuth

Python WebServer and Client

  • Lecture + Lab: Construct a SimpleHTTPServer and HTTP Client

Best Practice

  • Lecture: RESTful API Best Practices

Building APIs with Flask

  • Lecture: Intro to Flask
  • Lecture + Lab: Building APIs with Python
  • Lecture: Introduction to Jinja
  • Lecture + Lab: Flask APIs and Jinja2
  • Challenge: Jinja2
  • Challenge: Jinja2 Solution
  • Lecture + Lab: Flask APIs and Cookies
  • Lecture + Lab: Flask Sessions
  • Lecture: Controlling your APIs
  • Lecture + Lab: Flask Redirection, Errors, and API Limiting
  • Lecture + Lab: Flask Uploading and Downloading Files

Database Integration

  • Lecture: Learning sqlite3
  • Lecture + Lab: Tracking API Data with sqlite3
  • Lecture + Lab: Tracking Inventory with sqlite3

APIs within Enterprise

  • Lecture + Lab: Flask and waitress
  • Lecture + Lab: Running Flask in a Docker Container


  • Lecture + Lab: Introduction to FastAPI

Building APIs with Django

  • Lecture: Introduction to Django
  • Lecture + Lab: Introduction to Django

Django Basics

  • Lecture + Lab: Intro to Django Views
  • Lecture + Lab: Controlling HTTP Response Codes
  • Lecture + Lab: Returning JSON with Django
  • Lecture + Lab: Making requests with Django

Django App

  • Lecture + Lab: Django App Design - To-Do app

Designing APIs

  • Lecture + Lab: Swagger

Optional Prerequisites

  • Recommended Prerequisite: Python Basics (5 days)
  • Coding experience in another language serves as an adequate prerequisite

Request More Infomation

Inquiry for
This field is for validation purposes and should be left unchanged.
Learn how Elite helped Aimbridge Hospitality stay ahead of the competition.
View Study