use strict;
use warnings;
use WebService::Browshot;
use JSON qw(encode_json);

my $client = WebService::Browshot->new(key => $ENV{BROWSHOT_API_KEY});
print encode_json($client->crawl_create(domain => 'example.com', url => 'https://example.com/', country => 'fr', max => 10)), "\n";
