C# client

The C# client is available at https://github.com/lab5e/csharp-spanapi.

Usage

Example fetching collection data

using System.Collections.Generic;
using System.Diagnostics;
using Com.Lab5e.Span.Api;
using Com.Lab5e.Span.Client;
using Com.Lab5e.Span.Model;

namespace CSharpExample
{
    public class ListCollectionDataExample
    {
        public static void Main()
        {
            Configuration config = new Configuration();
            config.AddApiKey("X-API-Token", "myToken");

            var api = new CollectionsApi(config);
            ListDataResponse data = client.ListCollectionData("myCollectionID")

            Debug.WriteLine(data); // { data: [ ... ] }
        }
    }
}