SkillAgentSearch skills...

Statuscake.client

A simple .NET client for communication with the StatusCake website monitoring service API.

Install / Use

/learn @DejanPelzel/Statuscake.client
About this skill

Quality Score

0/100

Category

Operations

Supported Platforms

Universal

README

StatusCake .NET Api Client

A simple .NET client for communication with the StatusCake website monitoring service API.

How to use:

The StatusCakeClient library is incredibly simple to use. It supports two authentication options. You can either use the constructor to pass the username or password like so:

var statusCakeClient = new StatusCakeClient("MyUsername", "MyAccessKey");

or simply update your appSettings section in the configuration file with the following keys:

<appSettings>
    <add key="StatusCake.Client.Username" value="MyUsername"/>
    <add key="StatusCake.Client.AccessKey" value="MyAccessKey"/>
</appSettings>

Examples:

Get test list:

var statusCakeClient = new StatusCakeClient();
var tests = await statusCakeClient.GetTestsAsync();

Get test details:

var statusCakeClient = new StatusCakeClient();
var tests = await statusCakeClient.GetTestsAsync();
var testDetails = await statusCakeClient.GetTestDetailsAsync(tests[0].TestID);

Related Skills

View on GitHub
GitHub Stars4
CategoryOperations
Updated5y ago
Forks4

Languages

C#

Security Score

70/100

Audited on Apr 30, 2020

No findings