Skip to content

serialized-io/client-dotnet

Repository files navigation

Serialized .NET client

The official .NET client for Serialized.

Actions Status

The client classes are generated using AutoRest 3.1.4 and our Swagger JSON file.

💡 Getting Started

Register for a free account at https://serialized.io to get your access keys to the API (if you haven't already).

Adding dependency

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.

Configuring the client

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>);

Usage

For a simple usage example, please see the ScenarioTest.

About

.NET client for Serialized

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages