Application Programming Interfaces

Middle School – Wizard Level II – Class 3

About Application Programming Interfaces

Students in Application Programming Interfaces learn basic concepts about how to interact and code with APIs. They can harness the power of APIs to enhance existing applications and to tie two or more applications together to increase functionality. A variety of popular APIs are covered in the class as students build engaging applications to utilize them.

Learning Objectives

When students complete Mastering Databases, they will be able to:

  •  Browser and Third-Party APIs
  •  JavaScript Promises
  •  GET and POST Requests
Application Programming InterfacesExpand All Lessons
  • 1. Introduction to Application Programming Interfaces
    An API allows one application to interact with another.

    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
    The Navigator API allows access to media devices on your computer.

    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.

  • 3. Making Promises to JavaScript
    JavaScript promises are used to run asynchronous operations.

    In this lesson, students create an advice application using promise parameters to change the promise state of an API request. Students practice using AJAX requests to return JavaScript objects. Logic is added to process fulfilled and rejected promises.

  • 4. Sending Data to API
    Request parameters allow for the return of specific data from an API endpoint.

    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
    HTML input options can be used to interact with APIs.

    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
    Random numbers can be used to rearrange data returned from an API.

    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
    API keys are required to access many popular APIs.

    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
    Understand how APIs are able to return data based on your request from the server.

    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
    Insert new data into a database using API endpoints.

    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
    Send API requests directly from Python without JavaScript.

    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
    APIs allow for the easy creation of new applications by exchanging data with existing applications.

    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
    APIs allow for the easy creation of new applications by exchanging data with existing applications.

    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.

VR Capstone Class

Imagine putting a headset over your eyes and getting teleported to a virtual world. What if you built that world yourself? How exciting and entertaining would that be, right? In this course, we use the latest tools from Mozilla and Google to launch a VR game by the end of the course.

Class Schedule

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.

  • Intro to Programming (CLASS FULL)
    on Sundays (12 weeks, 1 class per week)
  • Intro to Programming (CLASS FULL)
    on Mondays (12 weeks, 1 class per week)
  • Intro to Programming
    on Fridays (12 weeks, 1 class per week)
  • Intro to Programming
    on Tuesdays (12 weeks, 1 class per week)
  • Intro to Programming
    on Sundays (12 weeks, 1 class per week)

Summer programs now available! 3-week summer classes are starting June 8, July 6, and August 3.
See details and enroll to save your spot.

Once a course begins, every student at any level enjoys the same benefits:

Twelve 1-hour classes
Code editor software subscription
Live 1-on-1 teacher help, including weekends
Online student community
24/7 Access to our coding platform
Web hosting & unlimited server space
Same day email support
Monitored, direct-messaging

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. 1 hour of class time, plus 1-2 hours of practice time, with instructors support throughout, including weekends.

100% Guarantee

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.

Get Your Wizard Started

Pin It on Pinterest