You are here

public function Github_Api_Issue::show in Bibliography Module 7.2

Get extended information about an issue by its username, repo and number http://develop.github.com/p/issues.html#view_an_issue

Parameters

string $username the username:

string $repo the repo:

string $issueNumber the issue number:

Return value

array information about the issue

File

modules/CiteProc/Github/Api/Issue.php, line 69

Class

Github_Api_Issue
Listing issues, searching, editing and closing your projects issues.

Code

public function show($username, $repo, $issueNumber) {
  $response = $this
    ->get('issues/show/' . urlencode($username) . '/' . urlencode($repo) . '/' . urlencode($issueNumber));
  return $response['issue'];
}