using System; using System.Collections; using System.Web.Script.Serialization; using Browshot; class Example { static void Main() { var client = new BrowshotClient(Environment.GetEnvironmentVariable("BROWSHOT_API_KEY")); var result = client.ScreenshotMultiple(new Hashtable { { "profiles", new[] { new Hashtable { { "country", "fr" }, { "screen_width", 1440 }, { "screen_height", 900 } }, new Hashtable { { "country", "in" }, { "device", "iphone_15_pro" } } } }, { "urls", new[] { "https://example.com/", "https://example.org/" } } }); Console.WriteLine(new JavaScriptSerializer().Serialize(result)); } }