dereuromark 15 年 前
コミット
2fff8ef21b
1 ファイル変更30 行追加0 行削除
  1. 30 0
      config/usage/github_lib.txt

+ 30 - 0
config/usage/github_lib.txt

@@ -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');