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
Kendall Chung
9,511 PointsWhat is API?
I hear this term a lot throughout all fields and industry, what does treehouse mean when they say API in this video?
Thanks guys!
1 Answer
Daniel Gauthier
15,000 PointsHey Kendall,
This is the definition from Webopedia:
"API (application program interface) is a set of routines, protocols, and tools for building software applications. The API specifies how software components should interact and APIs are used when programming graphical user interface (GUI) components."
Good luck!
jcorum
71,830 Pointsjcorum
71,830 PointsFor example, if you have an app or web page that returns words, and you want your users to be able to get definitions for any word they don't already know, you can get the definitions from on-line dictionaries, but to do so you need to look at their API and find out how to interact with their database: the way to request a definition, the format the definitions come back in, pricing, etc. Here's the API for Merriam-Webster's Collegiate Dictionary with Audio: http://www.dictionaryapi.com/products/api-collegiate-dictionary.htm
Another example would be Google maps. If you want to include a map in your app or webpage you would need to study Google's map API: https://developers.google.com/maps/