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

APIs

Oliver Bartoszek
Oliver Bartoszek
2,273 Points

REST API BASICS: Client Side Course

Hi, I'm having trouble finding a course that will help me learn how to use APIs with Javascript or PHP from the client side. For example, if I wanted to learn how to access Instagram or Soundcloud's API and then display the information on my website.

I feel this should be something that is pretty common but i did a thorough search and can't seem to find anything that covers the fundamentals.. am i missing something?

thanks!

1 Answer

Steven Parker
Steven Parker
229,644 Points

Did you mean server side?

JavaScript might be either, but if I understand correctly, PHP is pretty much only a server-side language.

I'm not familiar with the PHP courses here, but I can say this is covered in the C# courses that I have taken, which is also a server-side language. I remember a project involving fetching data from a weather API, and another that used a sports data API. But you may not want to study C# just to learn API access.

I also recall a JavaScript course exercise that involved fetching student data from Treehouse itself. Sorry but I don't remember which course that was. But the AJAX Basics course has a stage titled "AJAX and APIs". And the Node.js Basics course has exercises involving creating a program to work with a weather API.

Oliver Bartoszek
Oliver Bartoszek
2,273 Points

thanks for your response Steven..

i realize i may not have done the best job describing what i meant, but i think i found what i was looking for. there is one course called 'Using the Github API with PHP'. i have no clue which Track it is part of, but it seems to cover a lot of what i was hoping for like making RESTful requests, Authenticating with OAuth, etc..

gonna start with the PHP basics and then give it a try.

cheers! ^_^