lib/TheTwelve/Foursquare/UsersGateway.php
public function getBadges()
    {

        $uri = $this->buildUserResourceUri('badges');
        $response = $this->makeAuthenticatedApiRequest($uri);

        return $response->badges;

    }
public function getBadges()
    {

        $uri = $this->buildUserResourceUri('badges');
        $response = $this->makeAuthenticatedApiRequest($uri);

        return $response->badges;

    }
public function getBadges ( ) { $ uri = $ this -> buildUserResourceUri ( 'badges' ) ; $ response = $ this -> makeAuthenticatedApiRequest ( $ uri ) ; return $ response -> badges ; }
Returns badges for a given user.
@see https://developer.foursquare.com/docs/users/badges
Returns badges for a given user .