XyloCode.ThirdPartyServices.Cdek
1.0.0
Prefix Reserved
See the version list below for details.
dotnet add package XyloCode.ThirdPartyServices.Cdek --version 1.0.0
NuGet\Install-Package XyloCode.ThirdPartyServices.Cdek -Version 1.0.0
<PackageReference Include="XyloCode.ThirdPartyServices.Cdek" Version="1.0.0" />
paket add XyloCode.ThirdPartyServices.Cdek --version 1.0.0
#r "nuget: XyloCode.ThirdPartyServices.Cdek, 1.0.0"
// Install XyloCode.ThirdPartyServices.Cdek as a Cake Addin #addin nuget:?package=XyloCode.ThirdPartyServices.Cdek&version=1.0.0 // Install XyloCode.ThirdPartyServices.Cdek as a Cake Tool #tool nuget:?package=XyloCode.ThirdPartyServices.Cdek&version=1.0.0
CDEK API client library
An unofficial .NET client library for accessing the CDEK API v2.0.
- NuGet (.NET library)
- GitHub (source code)
- Official documentation
Supported Platforms
- .NET 6.0 LTS;
- .NET 7.0.
CDEK
The express delivery company was founded in Novosibirsk by graduates of the Novosibirsk State University Leonid Goldort and Vyacheslav Piksayev in 2000 to transport goods from the Korzina.ru online store to the cities of Siberia and the Russian Far East. A year later, the company began operating in Moscow, and two years later, in Saint Petersburg.
In 2020, the company invested more than 600 million rubles to create its own postamat network.
Official website: https://www.cdek.ru/.
How to use
using XyloCode.ThirdPartyServices.Cdek;
using XyloCode.ThirdPartyServices.Cdek.Helpers;
namespace CdekTest
{
internal class Program
{
static void Main(string[] args)
{
var clientId = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
var clientSecret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
var tracer = new LoggingHandler(); // for trace request, needed only for debugging
var api = new CdekClient(clientId, clientSecret, httpMessageHandler: tracer);
var result = api.GetOrder("1234567890");
// for testing (using https://api.edu.cdek.ru/ as base URI)
var testApi = new CdekClient(httpMessageHandler: tracer);
var offices = testApi.GetDeliveryPoints();
Console.Beep();
Console.ReadLine();
}
}
}
License
MIT License
Product | Versions 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 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 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. |
-
net6.0
- No dependencies.
-
net7.0
- 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.
First release. Requires debugging, performance is not guaranteed.