You are here

public function Github_Api_Organization::getAllRepos in Bibliography Module 7.2

List all repositories across all the organizations that you can access http://develop.github.com/p/orgs.html

Parameters

string $name the user name:

Return value

array the repositories

File

modules/CiteProc/Github/Api/Organization.php, line 44

Class

Github_Api_Organization
Searching organizations, getting organization information and managing authenticated organization account information.

Code

public function getAllRepos($name) {
  $response = $this
    ->get('organizations/repositories');
  return $response['repositories'];
}