REGON 1.7.0

dotnet add package REGON --version 1.7.0                
NuGet\Install-Package REGON -Version 1.7.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="REGON" Version="1.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add REGON --version 1.7.0                
#r "nuget: REGON, 1.7.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 REGON as a Cake Addin
#addin nuget:?package=REGON&version=1.7.0

// Install REGON as a Cake Tool
#tool nuget:?package=REGON&version=1.7.0                

REGON

Klient dla REGON SOAP API dla aplikacji .NET.

GitHub GitHub Workflow Status Nuget Nuget GitHub issues GitHub pull requests

Instalacja

dotnet add package REGON --version X.X.X

Użycie

Wstrzykiwanie klienta REGON za pomocą dependency injection:

services.AddRegonClient("<TWOJ-KLUCZ-API>");

Użycie klienta:

private readonly IRegonClient _regonClient;

public Konstruktor(IRegonClient regonClient)
{
    _regonClient = regonClient;
}

Metody

  • GetCompanyDataByNip(string nip)
  • GetCompanyDataByKrs(string krs)

Przykładowa odpowiedź z RegonClient

{
  "Nip": "7010790303",
  "Krs": "",
  "Name": "RK RECOVERY SPÓŁKA AKCYJNA",
  "Street": "Plac Konesera",
  "City": "Warszawa",
  "BuildingNumber": "10 A",
  "FlatNumber": "",
  "PostCode": "03-736",
  "REGON": "369010805",
  "Commune": "Praga-Północ",
  "District": "Warszawa",
  "Voivodeship": "MAZOWIECKIE",
  "LegalForm": 3,
  "MainPkd": "6920Z",
  "StartDate": "2017-12-15T00:00:00",
  "EndDate": null,
  "IsSuspended": false,
  "IsActive": true,
  "PhoneNumber": null,
  "Email": null,
  "WebsiteUrl": null,
  "Pkds": [
    {
      "Value": "6920Z",
      "Name": "DZIAŁALNOŚĆ RACHUNKOWO-KSIĘGOWA; DORADZTWO PODATKOWE"
    },
    {
      "Value": "6910Z",
      "Name": "DZIAŁALNOŚĆ PRAWNICZA"
    }
  ]
}

Szukasz pomocy w implementacji klienta REGON we własnym projekcie?

Skontaktuj się ze mną korzystając z danych na stronie armatys.me.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.