SolidCompany.Interop.Gus 2.0.0 Prefix Reserved

Install-Package SolidCompany.Interop.Gus -Version 2.0.0
dotnet add package SolidCompany.Interop.Gus --version 2.0.0
<PackageReference Include="SolidCompany.Interop.Gus" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SolidCompany.Interop.Gus --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SolidCompany.Interop.Gus, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SolidCompany.Interop.Gus as a Cake Addin
#addin nuget:?package=SolidCompany.Interop.Gus&version=2.0.0

// Install SolidCompany.Interop.Gus as a Cake Tool
#tool nuget:?package=SolidCompany.Interop.Gus&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SolidCompany.Interop.Gus is a .NET Core/.NET StandardNET Core/.NET Standard interop package for Statistics Poland (pol. Główny Urząd Statystyczny, GUS) API. Enables downoading legal entity data using Polish TAX Id (NIP).

Get Packages

You can get SolidCompany.Interop.Gus package by downloading it from NuGet feed.

Getting Started

SolidCompany.Interop.Gus requires a key that you can obtain from GUS. The whole instruction is available here.

When you receive your key then you are free to use the client:

await using var client = new GusBirClient("your_key", GusEnironment.Production);

var result = await client.FindByNipAsync("5261040828");

if (result.Success)
{
    var found = result.Entities;
}

Dependency Injections

If you'd like to use GusBirClient with dependency injection then you can install a companion package SolidCompany.Interop.Gus.DependencyInjection.

The only thing you need to do then is to add the following line of code to your service configuration:

services.AddGusClient(c =>
{
    c.Environment = GusEnironment.Production;
    c.Key = "your_key";
});

You'll be able to access GusBirClient through IGusBirClient interface.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SolidCompany.Interop.Gus:

Package Downloads
SolidCompany.Interop.Gus.DependencyInjection

Dependency injection integration package for .NET Core/.NET Standard interop package (SolidCompany.Interop.Gus) for Statistics Poland (pol. Główny Urząd Statystyczny, GUS) API.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 156 7/19/2021
1.1.0 134 6/12/2021
1.0.0 110 6/12/2021
0.9.1 120 6/12/2021
0.9.0 116 6/12/2021