Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Files

Latest commit

6665bd4 · May 19, 2017

History

History
28 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

28 lines (19 loc) · 1.03 KB

Datatrics

Datatrics C# API client

This package is a convenience wrapper to communicate with the Datatrics REST-API

Installation

See our nuget package on nuget.org (https://www.nuget.org/packages/datatrics-csharp-api).

Usage

There are a lot of API resources that are accessible through this client. You can look them up by looking at the code. Their name matches the name in the documentation(https://doc-beta.datatrics.com).

use Datatrics;

Client client = new Client("[api-key]", "[project-id]");
JObject response = await client.Content.Get();

Explanation

[api-key] The API key you've received or created

[project-id] id of the project

Contributing

We love contributions, but please note that the API client is generated. If you have suggested changes, you may still create a PR, but your PR will not be merged. We will however adapt the generator to reflect your changes. You can also create a GitHub issue if there's something you miss.