Quick Installation

Get started with Spiris in .NET in under a minute

Terminal
dotnet add package ApideckUnifySdk
using ApideckUnifySdk;
using ApideckUnifySdk.Models.Requests;

var sdk = new Apideck(
    apiKey: Environment.GetEnvironmentVariable("APIDECK_API_KEY"),
    appId: Environment.GetEnvironmentVariable("APIDECK_APP_ID"),
    consumerId: "user-123"
);

// Connect to Spiris
var connections = await sdk.Vault.Connections.ListAsync(
    api: "accounting"
);

// List data from Spiris
var contacts = await sdk.Accounting.Contacts.ListAsync(
    new AccountingContactsAllRequest() {
        ServiceId = "spiris"
    }
);

Console.WriteLine(contacts);

Why use the .NET SDK?

Type Safety

Full type definitions for .NET. Catch errors at compile time, not runtime.

Auto-generated

SDK is auto-generated from our OpenAPI spec, always up-to-date with the latest API.

Error Handling

Built-in error types and retry logic. Handle rate limits and errors gracefully.

Pagination

Automatic pagination handling. Iterate through large datasets effortlessly.

Authentication

OAuth, API keys, and consumer tokens handled automatically.

Documentation

Comprehensive docs with examples for every endpoint and method.

Spiris available in all SDKs

Choose your preferred language

Launch accounting integrations in weeks, not months

Get started for free