Minimal screenshot example
Capture a page from a PHP backend with a direct client.
<?php
require __DIR__ . '/vendor/autoload.php';
use SnapshotSite\Client;
$client = new Client('ss_live_xxx');
$result = $client->screenshot([
'url' => 'https://snapshot-site.com/pricing',
'width' => 1440,
'format' => 'png',
'fullSize' => true,
'hideCookie' => true,
]);
echo $result['link'] ?? '';