You are here

public function Github_Client::get in Bibliography Module 7.2

Call any path, GET method Ex: $api->get('repos/show/my-username/my-repo')

Parameters

string $path the GitHub path:

array $parameters GET parameters:

array $requestOptions reconfigure the request:

Return value

array data returned

File

modules/CiteProc/Github/Client.php, line 102

Class

Github_Client
Simple yet very cool PHP Github client

Code

public function get($path, array $parameters = array(), $requestOptions = array()) {
  return $this
    ->getHttpClient()
    ->get($path, $parameters, $requestOptions);
}