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", "aws_s3" }, { "app_id", "archive-acl" }, { "name", "Screenshot archive with Browshot ACL" }, { "config", new Hashtable { { "bucket", "your-capture-bucket" }, { "region", "us-east-1" }, { "pathTemplate", "captures/{domain}/{id}-{shot}.png" } } } }); Console.WriteLine(new JavaScriptSerializer().Serialize(result)); } }