You are here

public function Github_HttpClient::get in Bibliography Module 7.2

Send a GET request

Parameters

string $path Request path:

array $parameters GET Parameters:

string $httpMethod HTTP method to use:

array $options Request options:

Return value

array Data

Overrides Github_HttpClientInterface::get

File

modules/CiteProc/Github/HttpClient.php, line 60

Class

Github_HttpClient
Performs requests on GitHub API. API documentation should be self-explanatory.

Code

public function get($path, array $parameters = array(), array $options = array()) {
  return $this
    ->request($path, $parameters, 'GET', $options);
}