You are here

protected function Github_Api::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

42 calls to Github_Api::get()
Github_Api_Commit::getBranchCommits in modules/CiteProc/Github/Api/Commit.php
List commits by username, repo and branch http://develop.github.com/p/commits.html#listing_commits_on_a_branch
Github_Api_Commit::getCommit in modules/CiteProc/Github/Api/Commit.php
Show a specific commit http://develop.github.com/p/commits.html#showing_a_specific_commit
Github_Api_Commit::getFileCommits in modules/CiteProc/Github/Api/Commit.php
List commits by username, repo, branch and path http://develop.github.com/p/commits.html#listing_commits_for_a_file
Github_Api_Issue::getComments in modules/CiteProc/Github/Api/Issue.php
List an issue comments by username, repo and issue number http://develop.github.com/p/issues.html#list_an_issues_comments
Github_Api_Issue::getLabels in modules/CiteProc/Github/Api/Issue.php
List all project labels by username and repo http://develop.github.com/p/issues.html#listing_labels

... See full list

File

modules/CiteProc/Github/Api.php, line 31

Class

Github_Api
Abstract class for Github_Api classes

Code

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