C# / .NET SDK for accessing Fenrir Cloud API.
The contents of this repository is generated automatically using openapi-generator. Please refer to the Cloud.Sdk.Templates repository.
You can install this from NuGet repository:
Install-Package Fenrir.Api
using Fenrir.Api.Api;
using Fenrir.Api.Client;
using Fenrir.Api.Model;
namespace Example
{
public class Program
{
public static void Main()
{
Configuration config = new Configuration();
config.AccessToken = "YOUR_FENRIR_TOKEN";
var api = new FenrirApi(config);
try
{
var result = api.GetApplications(apiToken);
foreach(var application in result.Applications)
{
Console.WriteLine(application);
}
}
catch (ApiException e)
{
Console.WriteLine("Exception when calling FenrirApi.GetApplications " + e.Message );
Console.WriteLine("Status Code: "+ e.ErrorCode);
Console.WriteLine(e.StackTrace);
}
}
}
}
For the documentation for API endpoints, please refer to the docs/FenrirApi.md
Please refer to the Cloud.Sdk.Templates repository for contributing. We currently do not accept pull requests in this repo.