public request ( string $verb, string $uri, boolean $appendKey = true, array $params = [] ) : object | string | ||
$verb | string | The HTTP verb |
$uri | string | The API URI (segment) |
$appendKey | boolean | Whether to automatically append the API key into the URI. While it's usually the case, some services (like Last.fm) requires an "API signature" of the request. Appending an API key will break the request. |
$params | array | An array of parameters |
return | object | string |