The official .NET client for Serialized.
The client classes are generated using AutoRest 3.1.4 and our Swagger JSON file.
Register for a free account at https://serialized.io to get your access keys to the API (if you haven't already).
Grab the latest release package. You will have to configure your CLI for use with Github packages if you did not already do so. More info here.
The core object you'll interact with to add events to a collection is the SerializedClient
object. After creating a SerializedClient
instance, you'll want to provide it with your Serialized API keys. gsProvider` instance that contains details about your project id, keys, and optionally a different root URL for Keen.IO's API.
using SerializedClient;
using SerializedClient.Models;
...
var client = new Serialized();
client.HttpClient.DefaultRequestHeaders.Add("Serialized-Access-Key", <your-access-key>);
client.HttpClient.DefaultRequestHeaders.Add("Serialized-Secret-Access-Key", <your-secret-access-key>);
For a simple usage example, please see the ScenarioTest.