src/Repositories/BaseRepository.php
protected function setUri($uriToSet)
    {
        $uri_parts = [];

        array_push($uri_parts, 'api');
        array_push($uri_parts, config('ckan_api.api_version'));
        array_push($uri_parts, trim($uriToSet, '/'));

        $uri_parts = array_filter($uri_parts);

        $this->uri = implode('/', $uri_parts);
    }
protected function setUri($uriToSet)
    {
        $uri_parts = [];

        array_push($uri_parts, 'api');
        array_push($uri_parts, config('ckan_api.api_version'));
        array_push($uri_parts, trim($uriToSet, '/'));

        $uri_parts = array_filter($uri_parts);

        $this->uri = implode('/', $uri_parts);
    }
Set current uri to use for api calls

@param string $uriToSet