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.AppCreate(new Hashtable { { "type", "webhook" }, { "app_id", "notify" }, { "name", "Capture notifications" }, { "config", new Hashtable { { "url", "https://example.com/capture-events" } } } }); Console.WriteLine(new JavaScriptSerializer().Serialize(result)); } }