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

General Discussion

What is a API I know its stands for application programming interface, But please explain in your own words simply.

And please no links from other websites, because I already looked around by using google thank you.

1 Answer

Hi, Miguel. An API, at its most basic, is a way for outside (or third-party) applications to interact with your (or another company's) application.

For example, Dropbox has an API that allows you to write your own programs (in PHP or whatever other coding language) that can interact with Dropbox accounts using specific predetermined commands. Whether an API lets you have on READ or WRITE access (or both) is entirely up to the developer. Another example is Blizzard's API, which grants access to character data, equipment data, and other item data, but only allows READ access as opposed to Dropbox, which allows both using OAuth.