You are here

public function Github_Api_User::getFollowers in Bibliography Module 7.2

Request the users following a specific user http://develop.github.com/p/users.html#following_network

Parameters

string $username the username:

Return value

array list of following users

File

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

Class

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

Code

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