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                
#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                

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

  1. Rename appsettings - sample.json to appsettings.json
  2. 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
  3. Change appsettings.json property Copy to Output Directory to Copy always or Copy if newer
Product 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.

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 119 5/15/2023