ApiGUSRPLib 1.0.0

dotnet add package ApiGUSRPLib --version 1.0.0
NuGet\Install-Package ApiGUSRPLib -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ApiGUSRPLib" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ApiGUSRPLib --version 1.0.0
#r "nuget: ApiGUSRPLib, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ApiGUSRPLib as a Cake Addin
#addin nuget:?package=ApiGUSRPLib&version=1.0.0

// Install ApiGUSRPLib as a Cake Tool
#tool nuget:?package=ApiGUSRPLib&version=1.0.0

ApiGUSRP

ApiGUSRP is a library DotNet 4 C# for Polish state institution: GUS

Usage

Code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ApiGUSRPLib;

namespace ApiGUSRPTests
{
    class Program
    {
        static void Main(string[] args)
        {
            GUSRP g = new GUSRP("twojapikey");
            Podmiot p = g.SzukajPoNIP("5861125071"); //US Gdynia
            Console.WriteLine(p.ToString());
            Console.WriteLine("Nazwa: " + p.Nazwa);
            Console.ReadLine();
        }
    }
}

Output:

Regon: 190515834
Nip: 5861125071
StatusNip:
Nazwa: PIERWSZY URZĄD SKARBOWY W GDYNI
Wojewodztwo: POMORSKIE
Powiat: Gdynia
Gmina: Gdynia
Miejscowosc: Gdynia
KodPocztowy: 81-353
Ulica: ul. Władysława IV
NrNieruchomosci: 2/4
NrLokalu:
Typ: P
SilosID: 6
DataZakonczeniaDzialalnosci: 2015-03-31

Nazwa: PIERWSZY URZĄD SKARBOWY W GDYNI
Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 253 4/7/2022

Init lib.