Skip to content

ans-group/sdk-dotnet

Repository files navigation

sdk-dotnet

MIT licensed

This is the base client for interacting with ANS APIs from .NET applications targetting .NET Standard 2.0.

We strongly recommend against using this client directly, and instead using ANS .NET SDKs available on Github here

Basic usage

Whilst it's recommended to use the available SDKs as mentioned above, direct usage of the client is possible. You should refer to the Getting Started section of the API documentation before proceeding below

First, we'll instantiate an instance of ANSClient:

using ANS.API.Client;

ANSClient client = new ANSClient(new ClientConnection("yourapikeyhere"));

And away we go:

var zone = await client.GetAsync<dynamic>("/safedns/v1/zones/ans.co.uk");

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages