
- PHP
- Intermediate
About this Course
Application Programming Interfaces, or APIs, provide a method for connecting your site to a “third-party” web service. We'll use the GitHub API to explore how RESTful APIs allow us to retrieve and update information residing on an external system.
What you'll learn
- Application Programming Interface (API)
- Authentication
- OAuth
- cURL
- JSON
Communicating with a RESTful API
An Application Programming Interface (API) provides a method for accessing 3rd party content directly, allowing you to integrate that content into your own application. cURL is a tool that allows you to communicate with external services before ever sending any information through a browser.
5 stepsCreating a GitHub Client
Using the GitHub API Easy Access wrapper library, we'll create a GitHub Client application. Using OAuth tokens, we allow a user to authorize their GitHub account for sharing repository and user information with our application. Using this authorization, we will allow users to search, watch, and un-watch repositories.
9 stepsTeacher
-
Alena Holligan
After starting out in fine art and moving into graphic design, Alena found her passion for programming over 15 years ago and has never looked back. Alena enjoys community and is excited to introduce people to the wonderful world of PHP and the Portland Tech Community.
When not at her computer, Alena enjoys exploring Portland with her friends and family, including her 3 young children. She also enjoys the Symphony, Cooking, Books, Yarn and Yoga.