ContrastRestClient 2.4.0

A REST client for retrieving data from Contrast Team Server's REST API as plain C# objects.  

See http://www.contrastsecurity.com/ for more information on Contrast.

Install-Package ContrastRestClient -Version 2.4.0
dotnet add package ContrastRestClient --version 2.4.0
<PackageReference Include="ContrastRestClient" Version="2.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ContrastRestClient --version 2.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Contrast REST Client

Build status

This library provides a simple REST client for retrieving data from Contrast Team Server's REST API as plain old C# objects.

This library is also provided as a nuget package: https://www.nuget.org/packages/ContrastRestClient/.

Please see http://www.contrastsecurity.com for more information about how Contrast can help secure your applications.

Dependencies

  • Newtonsoft.Json

Contrast TeamServer API Credentials

To access the TeamServer API, you'll first need access to Contrast - either https://app.contrastsecurity.com/Contrast/login.html or an on-premises installation of TeamServer.

To begin using the Contrast API you will need to retrieve your API-Key from the server. To do this, you will need to log in to your Contrast account and have the application e-mail you a generated API-Key.

  1. Log in to Contrast
  2. Click the down arrow next to your login name in the page header
  3. Select "Your Account"
  4. Your credentials are listed under YOUR KEYS

The SDK requires the account username, service key, API key and Contrast URL.

More API documentation can be found here: https://support.contrastsecurity.com/entries/24184140-Accessing-the-API

Sample Client Application

The SampleContrastClient uses the App.config to store API credentials. To use the sample application, copy the API values from above into the appropriate appSettings entries:

  <appSettings>
    <add key="TeamServerUrl" value="https://app.contrastsecurity.com/Contrast/"/>
    <add key="TeamServerUserName" value=""/>
    <add key="TeamServerApiKey" value=""/>
    <add key="TeamServerServiceKey" value=""/>
  </appSettings>

Contrast REST Client

Build status

This library provides a simple REST client for retrieving data from Contrast Team Server's REST API as plain old C# objects.

This library is also provided as a nuget package: https://www.nuget.org/packages/ContrastRestClient/.

Please see http://www.contrastsecurity.com for more information about how Contrast can help secure your applications.

Dependencies

  • Newtonsoft.Json

Contrast TeamServer API Credentials

To access the TeamServer API, you'll first need access to Contrast - either https://app.contrastsecurity.com/Contrast/login.html or an on-premises installation of TeamServer.

To begin using the Contrast API you will need to retrieve your API-Key from the server. To do this, you will need to log in to your Contrast account and have the application e-mail you a generated API-Key.

  1. Log in to Contrast
  2. Click the down arrow next to your login name in the page header
  3. Select "Your Account"
  4. Your credentials are listed under YOUR KEYS

The SDK requires the account username, service key, API key and Contrast URL.

More API documentation can be found here: https://support.contrastsecurity.com/entries/24184140-Accessing-the-API

Sample Client Application

The SampleContrastClient uses the App.config to store API credentials. To use the sample application, copy the API values from above into the appropriate appSettings entries:

  <appSettings>
    <add key="TeamServerUrl" value="https://app.contrastsecurity.com/Contrast/"/>
    <add key="TeamServerUserName" value=""/>
    <add key="TeamServerApiKey" value=""/>
    <add key="TeamServerServiceKey" value=""/>
  </appSettings>

Release Notes

Added method to request an organization information based on its uuid.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.4.0 245 11/2/2018
2.3.0 259 5/7/2018
2.2.1 263 4/30/2018
2.2.0 309 12/21/2017
2.1.0 256 12/7/2017
2.0.0 234 11/10/2017
1.0.9 364 2/16/2017
1.0.8 322 8/1/2016
1.0.7 554 10/22/2015
1.0.4 451 3/12/2015