src/OrgManager.php
protected function get($resource, array $query = [])
    {
        $data['headers'] = ['Authorization' => 'Bearer '.$this->apiToken, 'User-Agent' => 'php-orgmanager-api'];
        $data['query'] = $query;
        $results = $this->client
            ->get("{$this->baseUrl}{$resource}", $data)
            ->getBody()
            ->getContents();

        return json_decode($results, true);
    }
protected function get($resource, array $query = [])
    {
        $data['headers'] = ['Authorization' => 'Bearer '.$this->apiToken, 'User-Agent' => 'php-orgmanager-api'];
        $data['query'] = $query;
        $results = $this->client
            ->get("{$this->baseUrl}{$resource}", $data)
            ->getBody()
            ->getContents();

        return json_decode($results, true);
    }
@param string $resource
@param array  $query

@return array