UPSRestApi 1.0.0-beta
This is a prerelease version of UPSRestApi.
dotnet add package UPSRestApi --version 1.0.0-beta
NuGet\Install-Package UPSRestApi -Version 1.0.0-beta
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="UPSRestApi" Version="1.0.0-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UPSRestApi --version 1.0.0-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: UPSRestApi, 1.0.0-beta"
#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 UPSRestApi as a Cake Addin #addin nuget:?package=UPSRestApi&version=1.0.0-beta&prerelease // Install UPSRestApi as a Cake Tool #tool nuget:?package=UPSRestApi&version=1.0.0-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
UpsOAuthClient
Use to Create authorization tokens for your application to utilize UPS APIs. This API product is required for all UPS's API integrations.
Installation
Install-Package UpsOAuthClient -Version 1.0.3
See NuGet docs for additonal instructions on installing via the dialog or the console.
Usage
A simple create token example:
using OAuthClient
OAuthClient.OAuthClient oAuth = new OAuthClient(
new OAuthClient.Http.ClientConfiguration(clientKey, clientSecret,
OAuthClient.Common.Enums.ApiEnvironment.Test) );
var token = Task.Run(async()=>await client.CreateToken());
Testing
The test suite in this project was specifically build to produce
Settings
- Rename
appsettings - sample.json
toappsettings.json
- Fill up the following configuration
- ClientID: Clinet ID provided by UPS when create your application.
- ClientSecret: Clinet Secret provided by UPS when create your application
- Change
appsettings.json
property Copy to Output Directory toCopy always
orCopy if newer
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 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.
-
net6.0
- Faster.Map (>= 3.0.4.2)
- Newtonsoft.Json (>= 13.0.3)
- RestSharp (>= 110.1.0)
- RestSharp.Serializers.NewtonsoftJson (>= 109.0.1)
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.0.0-beta | 115 | 5/15/2023 |