Ideas to Apps, lesson 4: "Plugging Into APIs"
« Return to the list of lessons
“These examples show how APIs connect your app to a world of possibilities—language, data, and even intelligence. The purpose of this lesson is to show how it is done in practice.”
Provides a practical guide to finding and using APIs (Application Programming Interface), using the Unsplash image service as an example. Covers obtaining API keys and the basic process of integrating an API into an app.
NOTE: The comprehensive management of API keys is not covered in detail in this guidance. Consequently, the provided information alone is not sufficient for deploying an application beyond private use.
Lesson Video
Provides examples of API usage: how translation, finance, and AI question-answering apps use APIs.
Demonstrates how connecting to APIs is done in practice: choosing an API , finding the developer/API section on the API provider's website (example: Unsplash.com), registering as a developer and signing up for an application for the API, creating API keys, showing where to find the API keys (specifically the "Access key" for a simple app).
Demonstrates a simple app that fetches images from Unsplash based on keywords.
Emphasizes caution as some APIs cost money and the need to check pricing, usage limits, and billing. Recommends free APIs for practice.
Emphasizes the importance of not sharing API keys or code containing them. Advising consultation with professionals for the proper and secure handling of API keys in published apps.