You are here

public function Github_Api_User::getFollowing in Bibliography Module 7.2

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

Parameters

string $username the username:

Return value

array list of followed users

File

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

Class

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

Code

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