Skip to content

Simple Python3 script to check a Google Play Billing purchase token with the Play Developer API

License

Notifications You must be signed in to change notification settings

namiml/nami-google-token-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

nami-google-token-validator

A simple Python 3 CLI for validating a Google Play Purchase Token via the Google Developer API.

To install the Google Developer APIs for Python:

pip install google-api-python-client

Purchase token is for a subscription purchase

./google_token_validator.py /path/to/google_service_credentials.json [package_name] [product_id] [purchase_token]

Purchase token is for a onetime purchase

./google_token_validator.py /path/to/google_service_credentials.json [package_name] [product_id] [purchase_token] --onetime

Don't print response to console

./google_token_validator.py /path/to/google_service_credentials.json [package_name] [product_id] [purchase_token] --quiet

About

Simple Python3 script to check a Google Play Billing purchase token with the Play Developer API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages