ShippingProAPICollection 1.0.33

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package ShippingProAPICollection --version 1.0.33
NuGet\Install-Package ShippingProAPICollection -Version 1.0.33
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="ShippingProAPICollection" Version="1.0.33" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ShippingProAPICollection --version 1.0.33
#r "nuget: ShippingProAPICollection, 1.0.33"
#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 ShippingProAPICollection as a Cake Addin
#addin nuget:?package=ShippingProAPICollection&version=1.0.33

// Install ShippingProAPICollection as a Cake Tool
#tool nuget:?package=ShippingProAPICollection&version=1.0.33

Build&Test NuGet

Shipping Pro API Collection

Welcome to our C# library, designed to integrate multiple shipping service APIs into one streamlined solution. This project provides a unified interface for GLS GLS, DHL, and DPD, simplifying the shipping process for developers and businesses. With easy integration, you can handle logistics across different carriers seamlessly. Ideal for enhancing efficiency in e-commerce and logistics operations.


Get Started

Before requesting shipping labels, you must first set up your specific shipping provider settings. This is achieved by injecting these settings as a singleton through dependency injection.

To finalize the setup, register the ShippingProAPICollectionService as a scoped service in your application.

ShippingProAPICollectionSettings providerSettings = new ShippingProAPICollectionSettings()
GLSSettings GLSSettings = new GLSSettings()
	 // Define your desired label result format
	 LabelFormat = GLSLabelFormat.PDF,

	 // Api domain is the XXXXXXX part of your GLS-GLS api url =>
	 ApiDomain = "test01",         
	 ContactID = "276a45fkqM",       
	 Username = "276a45fkqM"
	 Password = "lXZBIF7uRccyK7Ohr64d",       
DHL Parcel DE Shipping
DHLSettings dhlSettings = new DHLSettings()
	 // Api domain is the XXXXXXX part of your DHL api url =>
	 ApiDomain = "sandbox",
	 Password = "pass",
	 Username = "sandy_sandbox",
	 InternationalAccountNumber = "33333333335301",
	 NationalAccountNumber = "33333333330102",
	 LabelPrintFormat = "910-300-410",
	 // Create your DHL APP here ->
	 APIKey = "",
	 APILanguage = "de-DE" // en-US or de-DE
DPDSettings dpdSettings = new DPDSettings()
	 // Api domain is the XXXXXXX part of your DPD api url =>
     ApiDomain = "ws-stage",
     APILanguage = "de_DE", // en_EN or de_DE
     DepotNumber = "0191",
     Username = "sandboxdpd",
     Password = "xMmshh1"

Add multiple contract accounts

At times, you may need to utilize multiple contract accounts from the same provider. You can add multiple contracts by specifying a contract ID like this:

// Setup first contract
DPDSettings dpdContract1Settings = new DPDSettings()
	 // Api domain is the XXXXXXX part of your DPD api url =>
     ApiDomain = "ws-stage",
     APILanguage = "de_DE", // en_EN or de_DE
     DepotNumber = "0191",
     Username = "sandboxdpd",
     Password = "xMmshh1"

providerSettings.AddSettings("DPD1", dpdContract1Settings);

// Setup second contract
DPDSettings dpdContract3Settings = new DPDSettings()
	 // Api domain is the XXXXXXX part of your DPD api url =>
 	 ApiDomain = "ws-stage",
 	 APILanguage = "de_DE", // en_EN or de_DE
 	 DepotNumber = "0191",
 	 Username = "sandboxdpd",
 	 Password = "xMmshh1"
providerSettings.AddSettings("DPD2", dpdSettings);
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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.

Version Downloads Last updated
1.1.5 76 4/22/2024
1.1.3 73 4/22/2024
1.1.1 78 4/19/2024
1.1.0 77 4/19/2024
1.0.48 79 4/19/2024