DocumentationC# / .NET SDK

C# / .NET SDK

C# / .NET SDK (coming soon).

Coming soon

The .NET SDK is in progress. Use the REST API for now.

REST example (HttpClient)

using System.Net.Http;
using System.Text;

var client = new HttpClient();
var payload = "{\"url\":\"https://example.com\",\"format\":\"png\",\"full_page\":true}";

var request = new HttpRequestMessage(HttpMethod.Post, "https://api.ssapi.com/v1/capture");
request.Content = new StringContent(payload, Encoding.UTF8, "application/json");
request.Headers.Add("X-Access-Key", "your-key");

var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
Updated 1 day ago
Did this page help you?