Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Asynchronous Programming with JavaScript What is Asynchronous Programming? Examples of Synchronous and Asynchronous Code

karan Badhwar
.a{fill-rule:evenodd;}techdegree seal-36
karan Badhwar
Web Development Techdegree Graduate 18,135 Points


I heard at multiple times API, what is it, did I miss something from earlier videos regarding API ? I am not sure but I think so they never explained it before right, they gonna explain about API's ahead in this course?

1 Answer

Charlie Palmer
Charlie Palmer
15,444 Points

An API is an Application Interface. API's are often used connected to in order to retrieve data. An example of an API would be Gravatar. Gravatar stores users profile pictures which they associate to an MD5 hash of the users email address. How would this API work? 1) Make a GET request to the API using a key, secret or in this case, a users MD5 hashed email address. 2) The API will process this request and then return the associated profile picture.

Hopefully this clears some of it up.

If it didn't then here is the definitely pulled from google:

An application programming interface is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build or use such a connection or interface is called an API specification.