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->screenshot_multiple(profiles => [
  { country => 'fr', screen_width => 1440, screen_height => 900 },
  { country => 'in', device => 'iphone_15_pro' }
], urls => ['https://example.com/', 'https://example.org/'])), "\n";
