Skip to content

Conversation

@RuralAnemone
Copy link
Contributor

@RuralAnemone RuralAnemone commented Apr 9, 2025

requires a few Oauth2 tokens but should work when it's done (:

@RuralAnemone
Copy link
Contributor Author

yeah yeah yeah I know this build will fail ):

@RuralAnemone
Copy link
Contributor Author

closes #35

@itsvic-dev itsvic-dev marked this pull request as ready for review April 9, 2025 07:11
@itsvic-dev
Copy link
Owner

oops didn't mean to
gh mobile is useless

@itsvic-dev itsvic-dev marked this pull request as draft April 9, 2025 07:14
// this is all coming from https://developers.usps.com/Oauth
val GRANT_TYPE = "authorization_code"
val SCOPES = listOf<String>("tracking")
val TOKEN_URL = "https://apis.usps.com/oauth2/v3/token"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you really should just use Retrofit for this, grep for @Body in the source for examples

@itsvic-dev itsvic-dev linked an issue Apr 9, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for USPS

2 participants