require "browshot"
require "json"

client = Browshot.new(ENV.fetch("BROWSHOT_API_KEY"))
puts JSON.pretty_generate(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/"]
}))
