public function Github_Api_Organization::getTeams in Bibliography Module 7.2
List all teams of that organization http://develop.github.com/p/orgs.html
Parameters
string $name the organization name:
Return value
array the teams
File
- modules/
CiteProc/ Github/ Api/ Organization.php, line 86
Class
- Github_Api_Organization
- Searching organizations, getting organization information and managing authenticated organization account information.
Code
public function getTeams($name) {
$response = $this
->get('organizations/' . urlencode($name) . '/teams');
return $response['teams'];
}