SDKs
C# SDK (server api)
Quickly integrate the Ours Privacy C# SDK using NuGet. Explore its features with our Interactive API Explorer.
Ours Privacy C# SDK Documentation
This is a quick start guide for integrating the Ours Privacy C# SDK into your server-side applications.
Installation
Install the SDK via NuGet:
dotnet add package OursPrivacyFor more details, visit the NuGet package | Github Repo.
Usage
Initialize the SDK and send events with just a few lines of code:
using System;
using OursPrivacy;
using OursPrivacy.Models.Track;
OursPrivacyClient client = new();
// Track an event
TrackEventParams parameters = new()
{
Token = "your-api-key",
Event = "Purchase",
};
var response = await client.Track.Event(parameters);
Console.WriteLine(response);Explore the API
Want to see what the SDK can do? Try our Interactive API Explorer to experiment with endpoints and features in real time.
How is this guide?