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_list(limit => 10, status => 'finished')), "\n";
