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

Can someone please explain API's to me.

Hi, i am somewhat confused as to how API's work. I am currently learning HTML/CSS/Javascript and was wondering how to get started on making a website for my portfolio that demonstrates the use of API's.

For example using the Soundcloud API. Could i somehow create a playlist of top plays from their data over the past few months or so..Or even the same thing with YouTube??

Like is this even possible?? Could someone sort of simply explain the possibilities of API's and maybe link me to some articles that can help get me started.

Any help is really appreciated!

2 Answers

So API stands for Application Programming Interface, which in the case of Soundcloud's API, is a set of functions and tools which can be used by other developers to easily interact with and use Soundcloud's services within their own code.

The short answer to your question is, it depends on what the developers at Soundcloud have decided to include in their API. You'll have to go through Soundcloud's API documentation (like Nkosi posted) and see what they've decided to include and how to use it.

From the cursory look I took, it appears you can create playlists but can only add sounds that you own to those playlists.