Take advantage of spring savings with up to 50% off ILT training.

Checkout

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:

    $

Contact Sales

Build and Implement APIs with Python

Exclusive - Learn to use Python to both access APIs and to build API sites

Programmatic access to data through Application Programming Interfaces (APIs) is an increasingly important skill for programmers. This course teaches you both how to use Python to access APIs as well as build your own API sites. You’ll learn about a variety of data serialization formats, multiple API accessing libraries, and how to build sites that host APIs using both FastAPI and Django.

This course is lab focused and you’ll gain hands-on experience working with and building APIs.

GK# 840200 Vendor# Python and API
Vendor Credits:
  • Global Knowledge Delivered Course
  • Training Exclusives
No matching courses available.
Start learning as soon as today! Click Add To Cart to continue shopping or Buy Now to check out immediately.
Access Period:
Scheduling a custom training event for your team is fast and easy! Click here to get started.
$
Your Selections:
Location:
Access Period:
No available dates

Who Should Attend?

  • Data scientists
  • Software developers
  • Python enthusiasts

What You'll Learn

  • Serializing and deserializing in JSON, CSV, YAML, and XML formats
  • Scraping data from the web using the Python requests and Beautiful Soup libraries
  • Authenticating to API services
  • How to interact with REST API services
  • SQL and SQLAlchemy for database access
  • Speeding up API access through concurrent programming (threading, asyncio, and multi-processing)
  • Building FastAPI web sites
  • Building Django web sites for APIs

Course Outline

  • Fetching Data
    • Serializing and deserializing data in JSON, CSV, YAML, and XML
    • Using the Python requests library
    • Scraping web pages
    • Using the Python Beautiful Soup library
  • Authenticating to APIs
    • Header based authentication
    • JSON Web Tokens (JWT)
  • REST Interfaces
    • HTTP Methods
    • Create, Read, Update, and Delete (CRUD) actions
    • REST nouns and verbs
    • Writing good REST URLs
  • GraphQL
    • How to fetch data from a GraphQL interface
    • Using GraphQL web tools
  • SQL
    • Introduction to SQL
    • Using SQLite and the sqlite3 command-line interface
    • Writing Python SQLAlchemy scripts to access databases using both the text and function interfaces
  • Concurrent Programming
    • How to write concurrent code to speed up your API access
    • The difference between I/O bound and CPU bound concurrency
    • Writing Python asyncio routines
    • Using Python’s threading library
    • Using Python’s mulit-processing library
  • FastAPI
    • Writing an API server using FastAPI
    • Writing a complete REST interface using GET, POST, PUT, PATCH, and DELETE
    • How to use Pydantic to specify payload serialization
  • Django for APIs
    • Introduction to the Django web framework
    • Using Django to access a database
    • Writing web views in Django
    • Using the Django Ninja library to build APIs
BUY NOW

Labs Outline

  • Reading JSON data
  • Converting CSV to JSON
  • Converting YAML to CSV
  • Converting XML to YAML
  • Fetching JSON data
  • craping a web page
  • Dealing with Pagination
  • Authenticating to an API with headers
  • Authenticating with JWT
  • Using REST API end-points
  • Using GraphQL
  • Exploring a database with sqlite3
  • Using SQLAlchemy’s text() interface
  • Using SQLAlchemy’s function interface
  • Fetching from multiple sources concurrently
  • Threading and multi-processing
  • A complete REST interface in FastAPI
  • FastAPI file uploads and page redirects
  • Django views and routes
  • Django database access
  • Django Admin
  • Database relationships in Django ORM
  • Django Ninja for APIs
  • A complete REST interface in Django Ninja
  • Writing secure API end-points in Ninja
BUY NOW

Prerequisites

General Python programming knowledge is required

  • Python Foundations course or equivalent knowledge