|
|
@@ -0,0 +1,30 @@
|
|
|
+wrapper for the GitHub API
|
|
|
+
|
|
|
+
|
|
|
+Return an object for the given user, or returns false if the user does not exist
|
|
|
+
|
|
|
+ $this->GithubLib->userInfo('bobbyjoe');
|
|
|
+
|
|
|
+Return a list of commits for a project by a user.
|
|
|
+
|
|
|
+ $this->GithubLib->userTimeline('philsturgeon', 'codeigniter-github');
|
|
|
+ $this->GithubLib->userTimeline('philsturgeon', 'codeigniter-github', 'branchname');
|
|
|
+
|
|
|
+Return a list of repositories matching a search term. Optional 2rd parameter specifies programming language
|
|
|
+
|
|
|
+ $this->GithubLib->search('codeigniter');
|
|
|
+ $this->GithubLib->search('codeigniter', 'php');
|
|
|
+
|
|
|
+Return a list of the repository info
|
|
|
+
|
|
|
+ $this->GithubLib->repoInfo('philsturgeon', 'codeigniter-github');
|
|
|
+
|
|
|
+Return a list of the repository's references
|
|
|
+
|
|
|
+ $this->GithubLib->repoRefs('philsturgeon', 'codeigniter-github', 'tags');
|
|
|
+ $this->GithubLib->repoRefs('philsturgeon', 'codeigniter-github', 'branches');
|
|
|
+
|
|
|
+Return a list of issues for a project
|
|
|
+
|
|
|
+ $this->GithubLib->projectIssues('philsturgeon', 'codeigniter-github', 'open');
|
|
|
+ $this->GithubLib->projectIssues('philsturgeon', 'codeigniter-github', 'closed');
|