src Add HTTP timeouts and retry to USPS auth token fetch 5 months ago
.gitignore Initial commit 4 years ago
Jenkinsfile New file 2 years ago
README.md Initial commit 4 years ago
lombok.config Initial commit 4 years ago
pom.xml Fix HTTP resource leaks, dedupe service code, add test coverage 5 months ago
README.md

USPS (United States Postal Service) API Tools

Note: Register for API access here: https://registration.shippingapis.com/

Instantiate

UspsApi uspsApi = new UspsApi(environment, username);

Environment (Production, Testing)

UspsEnvironment environment = UspsEnvironment.TESTING;

Track Package

TrackingResponse trackingResponse = uspsApi.track("EJ958083578US");