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.ScreenshotCreate("https://example.com/", new Hashtable { { "browser", "chrome" }, { "country", "fr" }, { "screen_width", 1440 }, { "screen_height", 900 } }); Console.WriteLine(new JavaScriptSerializer().Serialize(result)); } }