Clouds

Building API Clients and Servers with Python

$2495

5 days

2025-01-13

Enroll

Essential Skills Gained

Checkmark

Master Python Fundamentals: Build a strong foundation in Python programming, including functions, data structures, and control flow, to support API development.

Checkmark

Understand HTTP and RESTful APIs: Learn the basics of HTTP protocols, methods, and RESTful API principles to effectively design and interact with APIs.

Checkmark

Work with JSON Data in Python: Explore JSON data handling in Python, including serialization, deserialization, and integration with local files.

Checkmark

Send API Requests with Python: Use Python's `requests` library to perform GET and POST requests and interact with open APIs securely using API keys.

Format

5 day course with lecture and hands-on labs.

Audience

Developers and Programmers looking to build or integrate APIs into their applications.

System Administrators aiming to automate workflows and enhance system interactions via APIs.

IT Professionals seeking to understand API design and interaction fundamentals.

Data Analysts who need to retrieve and process data from web APIs.

Web Developers interested in creating backend services using Flask.

DevOps Engineers looking to deploy and manage Flask APIs in production environments.

Software Testers tasked with validating API functionality and performance.

Technical Architects planning API-driven application architectures.

Students and Beginners eager to start working with APIs and Python.

Anyone Interested in APIs wanting to enhance their technical skills in API development and integration.

Description

This course provides a comprehensive guide to building and interacting with APIs using Python, equipping participants with the skills needed to create, manage, and deploy RESTful APIs effectively. Beginning with foundational Python programming concepts, the course progresses to cover HTTP principles, JSON data handling, and interacting with public APIs using tools like the `requests` library. Participants will learn to design and build their own APIs using Flask, incorporating best practices for routing, session management, and error handling. The course also explores integrating Jinja2 templates, tracking data with sqlite3, and deploying APIs in production environments with Waitress and Docker. By the end, attendees will have the confidence and expertise to create scalable, dynamic API-driven applications.

Getting Started

  • 💻 Register for Poll

  • Welcome to Alta3 Live

  • Vim: A Modal Text Editor

  • Efficient CLI Usage with Tmux

  • Revision Control with GitHub

Day 1- Foundational Python

  • 💻 Built-in Functions

  • 💻 Custom Functions

  • 💻 Objects and Methods

  • 💬 Python Lists

  • 💻 Python Lists

  • 💬 Python Dictionaries

  • 💻 Python Dictionaries

  • 💬 Conditionals

  • 💻 If, Elif, and Else Conditions

  • 💻 While Loops

Day 2- Foundational Python (Continued)

  • 💻 For Loops

  • 💬 Reading and Writing to Files

  • 💻 Reading Files

  • 💻 Using Modules

  • 💻 PIP and Third Party Libraries

  • 💻 Try and Except

  • 💻 Python Classes & Inheritance

Day 3- RESTful APIs and Client Access

  • 💻 Your First API Request

  • 💬 Python Data sets vs JSON

  • 💻 Python Data to JSON file

  • 💬 Introduction to HTTP

  • 💻 Standard vs. Third Party Libraries and Open APIs

  • 💻 requests library - Open APIs

  • 💻 requests library - GET vs POST to REST APIs

  • 💻 APIs and Dev Keys

  • 💻 Swagger

Day 4- Building RESTful APIs with Flask

  • 💬 RESTful API Best Practices

  • 💬 Intro to Flask

  • 💻 Building APIs with Python

  • 💻 Flask APIs and Cookies

  • 💻 Flask Sessions

  • 💻 Flask Redirection, Errors, and API Limiting

  • 💻 Flask Uploading and Downloading Files

Day 5- Building RESTful APIs with Flask (Continued)

  • 💬 Introduction to Jinja

  • 💻 Flask APIs and Jinja2

  • 💬 Learning sqlite3

  • 💻 Tracking API Data with sqlite3

  • 💻 Tracking Inventory with sqlite3

  • 💻 Flask and waitress

  • 💻 Running Flask in a Docker Container

Additional Labs and Tools

  • 💬 Introduction to Threads

  • 💻 Working With Threads

  • 💻 Threads and API requests

  • 💻 Introduction to Asynchronous Programming with AsyncIO

Optional- PCEP Certification Guide

  • 💬 Introduction to the PCEP Exam

  • 💻 Advanced Numbers and Operators

  • 💻 Pythonic Loops and Iteration

  • 💻 Advanced Lists and Tuples

  • 💻 Advanced Functionality and Error Handling

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.