NSW.EliteDangerous.INARA 1.0.0

Frontier Elite:Dangerous for INARA integration library

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

<img src="https://i.imgur.com/qA5ubgH.png" align="right"
title="Frontier Elite Dangerous INARA" width="280">

Frontier Elite Dangerous API

NugetNuget (with prereleases)Nuget

GitHub top languageGitHubGitHub Release DateGitHub last commit

Intro

Simple library for INARA integration based on documentation.

Usage

Use AddEliteDangerousINARA() method to add API into your app:

// Use Microsoft.Extensions.DependencyInjection
 var inara = new ServiceCollection()
                .AddLogging(cfg => cfg.AddDebug())
                .Configure<LoggerFilterOptions>(cfg => cfg.MinLevel = LogLevel.Warning)
                .AddEliteDangerousINARA(o =>
                {
                    o.ApiKey = "your_apikey_from_inara";
                    o.ApplicationName = "your_application_name";
                    o.ApplicationVersion = "1.2.3";
                    o.IsDevelopment = true; // set this while you debugging
                })
                .BuildServiceProvider()
                .GetService<IEliteDangerousINARA>();

or with known Commander

// Use Microsoft.Extensions.DependencyInjection
 var inara = new ServiceCollection()
                .AddLogging(cfg => cfg.AddDebug())
                .Configure<LoggerFilterOptions>(cfg => cfg.MinLevel = LogLevel.Warning)
                .AddEliteDangerousINARA(o =>
                {
                    o.ApiKey = "your_apikey_from_inara";
                    o.ApplicationName = "your_application_name";
                    o.ApplicationVersion = "1.2.3";
                    o.Commander = "Your Commander";
                    o.FrontierId = "F1234567"; // this optional
                })
                .BuildServiceProvider()
                .GetService<IEliteDangerousINARA>();

<img src="https://i.imgur.com/qA5ubgH.png" align="right"
title="Frontier Elite Dangerous INARA" width="280">

Frontier Elite Dangerous API

NugetNuget (with prereleases)Nuget

GitHub top languageGitHubGitHub Release DateGitHub last commit

Intro

Simple library for INARA integration based on documentation.

Usage

Use AddEliteDangerousINARA() method to add API into your app:

// Use Microsoft.Extensions.DependencyInjection
 var inara = new ServiceCollection()
                .AddLogging(cfg => cfg.AddDebug())
                .Configure<LoggerFilterOptions>(cfg => cfg.MinLevel = LogLevel.Warning)
                .AddEliteDangerousINARA(o =>
                {
                    o.ApiKey = "your_apikey_from_inara";
                    o.ApplicationName = "your_application_name";
                    o.ApplicationVersion = "1.2.3";
                    o.IsDevelopment = true; // set this while you debugging
                })
                .BuildServiceProvider()
                .GetService<IEliteDangerousINARA>();

or with known Commander

// Use Microsoft.Extensions.DependencyInjection
 var inara = new ServiceCollection()
                .AddLogging(cfg => cfg.AddDebug())
                .Configure<LoggerFilterOptions>(cfg => cfg.MinLevel = LogLevel.Warning)
                .AddEliteDangerousINARA(o =>
                {
                    o.ApiKey = "your_apikey_from_inara";
                    o.ApplicationName = "your_application_name";
                    o.ApplicationVersion = "1.2.3";
                    o.Commander = "Your Commander";
                    o.FrontierId = "F1234567"; // this optional
                })
                .BuildServiceProvider()
                .GetService<IEliteDangerousINARA>();

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 47 9/26/2019