Skip to content

independentreserve/dotNetApiClient

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Independent Reserve .NET API Client

NuGet

This .NET client encapsulates the private and public methods exposed by the Independent Reserve API.

It targets .NET Standard 2.0

Installation

Install the latest package via nuget

Development

Requires Visual Studio 2022+

Unit Tests

Tests require a single environment variable set with a CSV of baseUrl, apiKey and secret.

This can be set from an elevated powershell prompt like so:

[Environment]::SetEnvironmentVariable("IR_DOTNETCLIENTAPI_TEST_CONFIG", "<url>,<key>,<secret>", "Machine")

Sample Application

This simple WPF application demonstrates usage and responses

Specify your API Key and API Secret in the configuration file SampleApplication.exe.config.

Further Help

See the API documentation for more information.

Backward compatibility

Sometimes we will list a new currency that this client isn't aware of (say when you haven't updated the nuget package for some time). In this case, a 32-bit FNV-1a will be substituted for the new and unknown (to the client) CurrencyCode.

If you see these FNV-1a values then please update to the latest nuget package.