hands-on lab

Acquiring and Storing Data in Python

Difficulty: Beginner
Duration: Up to 1 hour
Students: 1,775
Rating: 3.6/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Utilizing APIs to query and store data is the heart of most web applications. This lab is aimed at students, with a moderate understanding of Python, who want to understand how to query an API, manipulate the data and store that data into a database with a more advanced schema. This lab walks through complex processing of JSON data into multiple tables, and shows how powerful Python is for data processing.

Learning Objectives

Upon completion of this lab you will be able to:

  • Learn and Understand Querying an API
  • Learn how to process complex JSON data
  • Learn how to store those results in a database

Intended Audience

This lab is intended for:

  • Individuals starting out with a database
  • Anyone interested in using Python to store data in a MySQL RDS Database

Prerequisites

You should possess:

  • A moderate understanding of Python
  • A basic understanding of Amazon RDS

Updates

April 29th, 2024 - Resolved deployment issue

March 21st, 2024 - Resolved deployment issue

October 31, 2023 - Updated the sample JSON API and resolved a data issue related to book catalog themes

March 3rd, 2023 - Resolved environment error

January 16th, 2023 - Updated instructions to reflect Jupyter changes

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Opening the Lab's Jupyter Notebook