Python 201 - API Design with Python

$2495

5 days

2024-09-23

Enroll

Essential Skills Gained

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

Format

5 day course with lecture and hands-on labs.

Audience

- System Administrators

- Network Engineers

- Software Developers

- Python Enthusiasts

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.

Download PDF

Summary

  • 💻 Register for Poll

  • 💻 Welcome to the Alta3 Research Lab Environment

Up and Running

  • 💻 Using Vi and Vim

  • 💻 Using VSCode

  • 💻 Tmux

Certification

  • 💻 API Design with Python - Alta3 Research Certification Project

LLM AI Toolkit

  • 💻 Large Language Model toolkit for AI Solution Assistance

Intro to APIs

  • 💬 Intro to APIs

Software Control Management

  • 💻 SCM Option #1 - GitHub

  • 💻 SCM Option #2 - GitLab

Python

  • 💬 Object Oriented Programming for APIs

  • 💬 Practical Application of Lists

  • 💻 Lists

  • 💬 Practical Application of Dict

  • 💻 Dictionaries

  • 🏆 List and Dict Modeling

  • 💻 Your First API Request

Working with JSON Data

  • 💬 Python Data sets vs JSON

  • 💻 Python Data to JSON file

RESTful APIs

  • 💬 Introduction to HTTP

  • 💻 Standard vs. Third Party Libraries and Open APIs

  • 💻 requests library - Open APIs

  • 💻 requests library - RESTful GET and JSON parsing

  • 💬 APIs and JSON Decode

  • 🏆 Key-pairs and HTTP GET

RESTful APIs beyond HTTP GET

  • 💬 HTTP GET vs HTTP POST

  • 💻 requests library - GET vs POST to REST APIs

Authentication

  • 💻 APIs and Dev Keys

  • 💻 RESTful APIs and Dev Keys

  • 💬 OAuth

Python WebServer and Client

  • 💻 Construct a SimpleHTTPServer and HTTP Client

Best Practice

  • 💬 RESTful API Best Practices

Building APIs with Flask

  • 💬 Intro to Flask

  • 💻 Building APIs with Python

  • 💬 Introduction to Jinja

  • 💻 Flask APIs and Jinja2

  • 🏆 Jinja2

  • 🏆 Jinja2 Solution

  • 💻 Flask APIs and Cookies

  • 💻 Flask Sessions

  • 💬 Controlling your APIs

  • 💻 Flask Redirection, Errors, and API Limiting

  • 💻 Flask Uploading and Downloading Files

Database Integration

  • 💬 Learning sqlite3

  • 💻 Tracking API Data with sqlite3

  • 💻 Tracking Inventory with sqlite3

APIs within Enterprise

  • 💻 Flask and waitress

  • 💻 Running Flask in a Docker Container

FastAPI

  • 💻 Introduction to FastAPI

Building APIs with Django

  • 💬 Introduction to Django

  • 💻 Introduction to Django

Django Basics

  • 💻 Intro to Django Views

  • 💻 Controlling HTTP Response Codes

  • 💻 Returning JSON with Django

  • 💻 Making requests with Django

Django App

  • 💻 Django App Design - To-Do app

Designing APIs

  • 💻 Swagger

Appendix

  • 💬 Glossary

Continuing Education

  • 💻 Simple Object Access Protocol (SOAP) and Python

  • 💻 Designing and Building Our Own API

  • 💻 Continuing Education

  • 💬 Introduction to Threads

  • 💻 Working With Threads

  • 💻 Threads and API requests

  • 💻 Introduction to Asynchronous Programming with AsyncIO

  • 💻 pandas dataframes with Excel, csv, json, HTML and beyond

  • 💻 Paramiko - SFTP with UN and PW

  • 💻 Paramiko - SSH with RSA Keys

  • 💬 Curriculum Path: Developer

Your Team has Unique Training Needs.

Your team deserves training as unique as they are.

Let us tailor the course to your needs at no extra cost.