You are here

public function Github_Api_Organization::getPublicMembers in Bibliography Module 7.2

List all public members of that organization http://develop.github.com/p/orgs.html

Parameters

string $name the organization name:

Return value

array the members

File

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

Class

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

Code

public function getPublicMembers($name) {
  $response = $this
    ->get('organizations/' . urlencode($name) . '/public_members');
  return $response['users'];
}