public function getList($country, $currency, $locale, $query)
    {
        $url = implode('/', [$this->url, 'autosuggest', 'v1.0', $country, $currency, $locale]);
        $data = $this->request($url, compact('query'));
        return $data->Places ?? [];
    }
public function getList($country, $currency, $locale, $query)
    {
        $url = implode('/', [$this->url, 'autosuggest', 'v1.0', $country, $currency, $locale]);
        $data = $this->request($url, compact('query'));
        return $data->Places ?? [];
    }
public function getList ( $ country , $ currency , $ locale , $ query ) { $ url = implode ( '/' , [ $ this -> url , 'autosuggest' , 'v1.0' , $ country , $ currency , $ locale ] ) ; $ data = $ this -> request ( $ url , compact ( 'query' ) ) ; return $ data -> Places ?? [ ] ; }
Get a list of places that match a query string.

@param string $country
@param string $currency
@param string $locale
@param string $query

@return mixed
@throws \GuzzleHttp\Exception\GuzzleException
Get a list of places that match a query string .