Application Programming Interfaces

APIs, or application programming interfaces, are key to being a front-end developer. Let's learn about them in this lesson.

We'll cover the following

You’ll find a lot of definitions of APIs online that’ll leave you confused. They’ll be accurate and comprehensive, but you won’t really get what an API is at the end. This lesson is nothing like that. So, here’s our (very simple) definition of an API for the front-end dev: An API, or Application Programming Interface, is an interface, like a link, from which you can get access to data, software, or hardware to use in your website or app in a meaningful way.

Here’s an example where we use GitHub’s API to get information about a certain public repository. Note that it returns data such as the owner’s avatar, creation date, and description in JSON format.

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.