UPS API

@Alex Ljunggren Alex Ljunggren authored on 18 Jul 2024
src Refactored to handle oauth 2 years ago
.gitignore Initial commit 4 years ago
README.md Spelling typo fix 4 years ago
lombok.config Initial commit 4 years ago
pom.xml Refactored to handle oauth 2 years ago
README.md

UPS API Tools

Note: Register for API key here: https://www.ups.com/upsdeveloperkit

Instantiate

UpsApi upsApi = new UpsApi(environment, username, password, accessKey);

Environment (PRODUCTION, CIE)

Note: CIE (Customer Integration Environment) is UPS's sandbox

UpsEnvironment environment = UpsEnvironment.CIE;

Track Package

UpsResponse upsResponse = upsApi.track("7798339175");