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

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

        return $response->mayorships->items;

    }
public function getMayorships()
    {

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

        return $response->mayorships->items;

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