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

Latest commit

 

History

History
32 lines (22 loc) · 997 Bytes

File metadata and controls

32 lines (22 loc) · 997 Bytes

Datatrics

Datatrics C# API samples

This package is a sample library to communicate with the Datatrics REST-API.

Installation

For the installation of the samples you need to run this nuget command.

Install-Package datatrics-csharp-api

Usage

Copy the contents of config.php.dist to config.php and fill the apiKey and projectId variables.

use Datatrics;

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

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.