Mar 8, 2015

Rewritten PHP API Wrapper

Because our PHP Api wrapper was a bit dusty we decided to rewrite it. You can find it now on GitHub. With the new one you can do cool stuff like this:

$api = new Api("your_api_key");
$api->convert([
        'inputformat' => 'pdf',
        'outputformat' => 'jpg',
        'converteroptions' => [
            'page_range' => '1-3',
        ],
        'input' => 'upload',
        'file' => fopen('./tests/input.pdf', 'r'),
    ])
    ->wait()
    ->downloadAll('./output/');
?>

By the way, an official node-js API wrappper is also in the works!