lib/TheTwelve/Foursquare/VenuesGateway.php
public function suggestCompletion(array $params = array())
    {
        $resource = '/venues/suggestcompletion';
        $response = $this->makeApiRequest($resource, $params);

        if(property_exists($response, 'minivenues')) {
            return $response->minivenues;
        }

        return array();
    }
public function suggestCompletion(array $params = array())
    {
        $resource = '/venues/suggestcompletion';
        $response = $this->makeApiRequest($resource, $params);

        if(property_exists($response, 'minivenues')) {
            return $response->minivenues;
        }

        return array();
    }
public function suggestCompletion ( array $ params = array ( ) ) { $ resource = '/venues/suggestcompletion' ; $ response = $ this -> makeApiRequest ( $ resource , $ params ) ; if ( property_exists ( $ response , 'minivenues' ) ) { return $ response -> minivenues ; } return array ( ) ; }
Returns a list of mini-venues partially matching the search term, near the location.
@see https://developer.foursquare.com/docs/venues/suggestcompletion
@param array $params
@return array
Returns a list of mini - venues partially matching the search term near the location .