You are here

public function Github_Api_User::show in Bibliography Module 7.2

Get extended information about a user by its username http://develop.github.com/p/users.html#getting_user_information

Parameters

string $username the username to show:

Return value

array informations about the user

File

modules/CiteProc/Github/Api/User.php, line 34

Class

Github_Api_User
Searching users, getting user information and managing authenticated user account information.

Code

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