src/Common/RestApiClient.php
public function get($path, $query = [], $withAuthorization = true)
    {
        $options = [
            'query' => $query,
        ];

        return $this->send('GET', $path, $options, $withAuthorization);
    }
public function get($path, $query = [], $withAuthorization = true)
    {
        $options = [
            'query' => $query,
        ];

        return $this->send('GET', $path, $options, $withAuthorization);
    }
public function get ( $ path , $ query = [ ] , $ withAuthorization = true ) { $ options = [ 'query' => $ query , ] ; return $ this -> send ( 'GET' , $ path , $ options , $ withAuthorization ) ; }
Send a GET request to the given URL.

@param string $path - URL to make request to (relative to base URL)
@param array $query - Key-value array of query string values
@param bool $withAuthorization - Should this request be authorized?
@return array
Send a GET request to the given URL .