public function Github_Api_Issue::getComments in Bibliography Module 7.2
List an issue comments by username, repo and issue number http://develop.github.com/p/issues.html#list_an_issues_comments
Parameters
string $username the username:
string $repo the repo:
string $issueNumber the issue number:
Return value
array list of issue comments
File
- modules/
CiteProc/ Github/ Api/ Issue.php, line 156
Class
- Github_Api_Issue
- Listing issues, searching, editing and closing your projects issues.
Code
public function getComments($username, $repo, $issueNumber) {
$response = $this
->get('issues/comments/' . urlencode($username) . '/' . urlencode($repo) . '/' . urlencode($issueNumber));
return $response['comments'];
}