Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 918 Bytes

README.markdown

File metadata and controls

35 lines (22 loc) · 918 Bytes

CodeIgniter-GitHub

Author

Philip Sturgeon - [email protected]

Description

CodeIgniter-GitHub is a CodeIgniter library which is essentially a wrapper for the GitHub API.

Usage

Return an object for the given user, or returns false if the user does not exist

$this->github_lib->user_info('bobbyjoe'); 

Return a list of commits for a project by a user.

$this->github_lib->user_timeline('philsturgeon', 'codeigniter-github');
$this->github_lib->user_timeline('philsturgeon', 'codeigniter-github', 'branchname');

Return a list of repositories matching a search term. Optional 3rd parameter specifies programming language

$this->github_lib->search('codeigniter');
$this->github_lib->search('codeigniter', 'php');

Extra

If you'd like to request changes, report bug fixes, or contact the developer of this library, email [email protected]