Grafana api client library for .NET
$ dotnet add package CzechAresClient.NET client library for Czech ARES API https://wwwinfo.mfcr.cz/ares/ares_xml.html.cz
By now it supports only very trimmed basic GET search by CompanyId (IČO)
Look at example in Demo
Package Manager : Install-Package CzechAresClient
CLI : dotnet add package CzechAresClient
Add using and ICzechAresClientService as a service in Program.cs
using CzechAresClient;
builder.Services.AddTransient<ICzechAresClientService, CzechAresClientService>();
builder.Services.AddHttpClient(); // do not forget this, its used by the lib
Inject service then use service as following:
var aresResult = await _aresClient.SearchByCompanyIdAsync("06279996"); // Search by IČO
Feel free to contribute and extend