Метод | Описание | |
---|---|---|
__construct ( string $api_key, |
Construct a new wrapper instance | |
convert ( array $parameters ) : |
Shortcut: Create a new Process and start it | |
createProcess ( array $parameters ) : |
Create a new Process | |
delete ( string $path, string $content = null, boolean $is_authenticated = true ) | Wrap call to CloudConvert APIs for DELETE requests | |
get ( string $path, string $content = null, boolean $is_authenticated = true ) | Wrap call to CloudConvert APIs for GET requests | |
getApiKey ( ) : string | Get the current API Key | |
getHttpClient ( ) : |
Return instance of http client | |
post ( string $path, string $content, boolean $is_authenticated = true ) | Wrap call to CloudConvert APIs for POST requests | |
put ( string $path, string $content, boolean $is_authenticated = true ) | Wrap call to CloudConvert APIs for PUT requests |
Метод | Описание | |
---|---|---|
rawCall ( string $method, string $path, string $content = null, boolean $is_authenticated = true ) : mixed | This is the main method of this wrapper. It will sign a given query and return its result. |
public __construct ( string $api_key, |
||
$api_key | string | Key of your application. You can get your API Key on https://cloudconvert.com/user/profile |
$http_client | Instance of http client |
public createProcess ( array $parameters ) : |
||
$parameters | array | Parameters for creating the Process. See https://cloudconvert.com/apidoc#create |
Результат |
public getHttpClient ( ) : |
||
Результат |