In Mastering APIs, the second course in Wizard Level 3 of our middle school curriculum, students learn how to use APIs to build advanced web applications. APIs allow programmers to build upon functionality created by other programmers. They also enable programmers to develop an easy-to-use interface between a web application’s back-end and front-end. Students will learn to interact with 3rd-party APIs and will learn the basics of designing APIs. After completing Mastering APIs, students are ready to move on to the next course in our structured curriculum: Mastering Databases.
When students complete Mastering APIs, they will be able to:
- Build more advanced web applications that utilize native browser APIs and connect to 3rd-party APIs
- Handle data transfer between web applications and APIs using GET and POST requests
These courses must be completed before Mastering APIs:
- Wizard Level I
- Wizard Level 2
- Wizard Level 3, Course 1 : Intro to Databases
- 1. Introduction to Application Programming Interfaces
In this lesson, students are introduced to what an API is and the value of learning how to utilize APIs to connect different applications. Students create an ISS (International Space Station) tracker using the ISS API. Ajax requests are used to interact with the ISS API.
- 2. Exploring the Browser APIs
In this lesson, students learn about third-party and browser APIs. Students use the Navigator browser API to create a fun magic camera application. CSS filter properties are added to create interesting filter effects for the camera.
- 4. Sending Data to API
In this lesson, students create an application that helps them find activities when they are bored. Students create an API and send objects to the Ajax request using the data parameter so that only specific data is returned from the API. The application is enhanced by adding relevant background images.
- 5. Mid-term Project Part I
In this lesson, students begin building the first part of the mid-term project. This engaging quiz project utilizes knowledge and skills learned so far to create APIs to ask and answer fun quiz questions. The application uses varying levels of difficulty and utilizes a for loop to traverse quiz categories.
- 6. Mid-term Project Part II
In this lesson, students complete the quiz application started in lesson 5. The answer choices for quiz questions are put in random order using random library functions. Answer choices are saved to an array and processed.
- 7. Create an API key to log into the API
In this lesson, students learn how to generate and use API keys to access an API. The Imagga API is used to obtain an API key allowing access to the API. Students create a fun and useful color extractor application.
- 8. Let’s explore the server side of an API
In this lesson, students deal with large amounts of data and learn how to limit results with the In this lesson, students explore how a server is able to return data from an API request. Basic database concepts are covered along with basic SQlite commands. Students practice creating and using an API which accesses a database of songs, artists, and genres.
- 9. Inserting new data using an API
In this lesson, students use GET and POST API requests to retrieve or add data to an existing database. AJAX type parameters are used to GET or POST data. Students practice posting new records to the music database used in previous lessons
- 10. Sending API Request from Python
In this lesson, students learn how to use the Python request module to get or post API requests. Students utilize request status code as they build an engaging ASCII generator application. Students learn how to preserve formatting when printing a response.
- 11. The Final Project Part I
Students begin building a final portfolio-worthy meme generator application using knowledge and skills learned throughout the classes. Loops and “in keywords” are used to add API information to an array for processing. Students practice sending a variety of options to the meme generator.
- 12. The Final Project Part II
In this final lesson, students complete their API project by adding more functionality to their meme generator application. New memes urls are saved to a new database and an API is created to insert the values using Sqlite. The anonymous function is introduced.
All students start in Intro to Programming at Wizard Level I. If you have previous coding experience, take the Advanced Placement test. Returning students can continue with the class where they left off.
#1 Most Comprehensive Program for Your Student’s Success!
The CodeWizardsHQ program comes with everything your child needs to be successful in learning to code.
All of the below are included at no extra cost.
Course Duration & Time Commitment
All courses are 12 weeks long. A Wizard will receive a certification for their achievement at the end of the course.
Expect a weekly time commitment of 2-3 hours. 55 minutes of class time, plus 1-2 hours of practice time, with instructor support throughout, including weekends.
Our goal is to make all our students successful. If your child is not happy with our program, please notify us within the first four class sessions and you will receive a full refund. See refund details.
Get Your Wizard Started
Start coding with our experienced teachers today.
Enroll risk-free with our 4 session money-back guarantee. Full guarantee details.