You are here

public function Github_Api_Organization::show in Bibliography Module 7.2

Get extended information about an organization by its name http://develop.github.com/p/orgs.html

Parameters

string $name the organization to show:

Return value

array informations about the organization

File

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

Class

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

Code

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