Client

Initialization

public static void Init(string apiKey, int timeout=30)

Initializes the API client.

Arguments

Parameter Type Description Required
apiKey string Your API key Yes
timeout integer Connection timeout in seconds (default is 30 seconds) No

Returns

Nothing

Example

var apiKey = Environment.GetEnvironmentVariable("OBJECTIA_APIKEY");
ObjectiaClient.Init(apiKey);

Version

public static string Version

Gets API client version.

Arguments

None

Returns

The API client version string.

Example

var version = ObjectiaClient.Version;
Console.WriteLine("Client version: {0}", version);

This will print something like this on the screen:

Client version: 1.0.0