PHP Classes

File: callback.php

Recommend this page to a friend!
  Classes of Nahid Bin Azhar  >  PHP Github API Client  >  callback.php  >  Download  
File: callback.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Github API Client
Access GitHub user repositories
Author: By
Last change:
Date: 4 years ago
Size: 296 bytes
 

Contents

Class file image Download
<?php

require 'vendor/autoload.php';
require
'src/Github.php';
$config = include('config/github.php');
use
Nahid\GithubClient\Github;

$api = new Github($config);
//$api->destroyAccessToken();
//$api->session->destroy();
echo '<pre>';
 
print_r($api->user('nahid')->get()->data());
echo
'</pre>';

For more information send a message to info at phpclasses dot org.