YoVDO

Using the GitHub API with PHP Course (How To)

Offered By: Treehouse

Tags

PHP Courses Web Development Courses JSON Courses cURL Courses

Course Description

Overview

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

Syllabus

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.

Chevron 5 steps
  • Introducing APIs and the Project

    1:51

  • Making a RESTful Request

    4:52

  • RESTful APIs

    5 questions

  • Communication with cURL

    5:39

  • Using cURL

    1 objective

Creating 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.

Chevron 9 steps
  • Using a Wrapper

    3:44

  • GET Search and Results

    3:49

  • Wrapper Library and API Object

    5 questions

  • Authenticate with OAuth

    7:26

  • POST Request to Watch Repository

    9:46

  • Sharing Functionality in the Application

    2:39

  • Following a User

    1 objective

  • Adding More Features

    0:42

  • Final Review

    8 questions


Related Courses

3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn
Accessibility Audit
Amazon Web Services via AWS Skill Builder
Advanced React
Meta via Coursera
Advanced System Security Topics
University of Colorado System via Coursera
Apply advanced testing for your Django web application
Coursera Project Network via Coursera