public function all(array $filters = [], $path = '/packages/list.json')
	{
		$url = $this->getUrl() . $path;
		if (!empty($filters)) {
			$url .= '?' . http_build_query($filters);
		}

		$this->_response = new Response(['json' => $this->request($url)]);
		return $this;
	}
public function all(array $filters = [], $path = '/packages/list.json')
	{
		$url = $this->getUrl() . $path;
		if (!empty($filters)) {
			$url .= '?' . http_build_query($filters);
		}

		$this->_response = new Response(['json' => $this->request($url)]);
		return $this;
	}
public function all ( array $ filters = [ ] , $ path = '/packages/list.json' ) { $ url = $ this -> getUrl ( ) . $ path ; if ( ! empty ( $ filters ) ) { $ url .= '?' . http_build_query ( $ filters ) ; } $ this -> _response = new Response ( [ 'json' => $ this -> request ( $ url ) ] ) ; return $ this ; }
Searches for all packages information. It is recommended the use of filters to narrow your search.
@param array $filters the filter to apply on the call
@param string $path the url path to make the api call
@return $this
Searches for all packages information . It is recommended the use of filters to narrow your search .