Baroque.NovaPoshta.Client
1.4.3
dotnet add package Baroque.NovaPoshta.Client --version 1.4.3
NuGet\Install-Package Baroque.NovaPoshta.Client -Version 1.4.3
<PackageReference Include="Baroque.NovaPoshta.Client" Version="1.4.3" />
paket add Baroque.NovaPoshta.Client --version 1.4.3
#r "nuget: Baroque.NovaPoshta.Client, 1.4.3"
// Install Baroque.NovaPoshta.Client as a Cake Addin
#addin nuget:?package=Baroque.NovaPoshta.Client&version=1.4.3
// Install Baroque.NovaPoshta.Client as a Cake Tool
#tool nuget:?package=Baroque.NovaPoshta.Client&version=1.4.3
Baroque.NovaPoshta.Client
Hi everyone! Today I want to present you a 'Nova Poshta' API client. 'Nova Poshta' it's Ukrainian most popular delivery service. It has strong web API, which needed sometimes for Ukrainian developers.
A few steps to start working with client:
- Create your personal 'Nova Poshta' account and generate your Api key. Detailed instruction you can find here.
- You need to create class implementing interface INovaPoshtaGateway. Or you can use our default class DefaultNovaPoshtaGateway. Copy your API key created at first step and paste it in ApiKey parameter or your gateway instance like here:
using Baroque.NovaPoshta.Client;
var gateway = new DefaultNovaPoshtaGateway("yourkey");
- Great! You create instance of Nova Poshta gateway. Now you can use API services, which are located in namespace Baroque.NovaPoshta.Client.Services. For example you can try get CommonService.
using Baroque.NovaPoshta.Client.Services.Common;
void Run()
{
var gateway = new DefaultNovaPoshtaGateway("yourkey");
var commonService = new CommonService(gateway);
}
- All other services connect by same way.
- Now you can use all other services in your application.
From version 1.3.0 library also supports documents tracking. You can find tracking service in Baroque.NovaPoshta.Client.Services.Tracking namespace.
Thanks to Dmitry for pointing out what I missed.
Nuget: Install-Package Baroque.NovaPoshta.Client -Version 1.4.1
Feel free to write me about project bugs and issues.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. 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 is compatible. 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 is compatible. 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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Newtonsoft.Json (>= 13.0.3)
-
net5.0
- Newtonsoft.Json (>= 13.0.3)
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
-
net7.0
- Newtonsoft.Json (>= 13.0.3)
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Supports API 2.0 methods for all available models.