DocumentationPHP SDK
PHP SDK
PHP SDK (coming soon).
Coming soon
The PHP SDK is in progress. Use the REST API for now.
REST example (cURL)
<?php
$payload = json_encode([
"url" => "https://example.com",
"format" => "png",
"full_page" => true
]);
$ch = curl_init("https://api.ssapi.com/v1/capture");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Content-Type: application/json",
"X-Access-Key: your-key"
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
Updated 1 day ago