<?php
require 'vendor/autoload.php';

$client = new Browshot(getenv('BROWSHOT_API_KEY'));
echo json_encode($client->screenshot_create(array(
  'url' => 'https://example.com/',
  'browser' => 'chrome',
  'country' => 'fr',
  'screen_width' => 1440,
  'screen_height' => 900
)), JSON_PRETTY_PRINT), PHP_EOL;
