You are here

public function Github_Client::getApi in Bibliography Module 7.2

Get any API

Parameters

string $name the API name:

Return value

Github_ApiInterface the API instance

File

modules/CiteProc/Github/Client.php, line 248

Class

Github_Client
Simple yet very cool PHP Github client

Code

public function getApi($name) {
  return $this->apis[$name];
}