Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Introducing APIs and the Project1:51 with Alena Holligan
Using an Application Programming Interface (API), many companies provide a method for accessing 3rd party content directly, allowing you to integrate that content into your own application.
[MUSIC] 0:00 Hi, I'm Alina. 0:04 The web make sharing information easy. 0:05 You can find instructions for fixing your car, building a house and 0:08 even learning the program. 0:11 You can share pictures and events with friends and family all over the world. 0:12 And all this is constantly accessible through laptops, smartphones, and tablets. 0:16 Sharing information is such a huge part of the web 0:23 that many websites let you access their content with more than just a web browser. 0:25 Using what's called an API, or application programming interface, 0:31 programmers can make information available in other places. 0:35 Information, like tweets on Twitter, posts on Facebook, and photos from Flickr. 0:39 All websites let you use a web browser to visit them. 0:45 But some websites also provide a method for 0:48 accessing certain content directly from your own site. 0:51 For example, YouTube lets other websites search YouTube videos, 0:55 display playlists, and retrieve information about a YouTube channel. 0:59 In this project, we'll be connecting to the GitHub API. 1:04 GitHub gives us access to a wide range of information 1:08 from users to repositories, to gists. 1:11 Not only are we able to retrieve data, we can also submit data. 1:14 Let's take a look at the finished project. 1:19 First, we requested a loft token for the user. 1:22 This will allow us to request to watch or 1:26 unwatch particular repositories on behalf of that user. 1:29 We'll set up the ability to search repositories. 1:34 And also, pull specific repositories that are used in this project. 1:39 In both cases, we will have the ability to watch and unwatch repositories. 1:45
You need to sign up for Treehouse in order to download course files.Sign up