android-play-publisher-api
android-play-publisher-api copied to clipboard
Examples don't match current library version
The Python examples don't work anymore. You can find some more recent examples at https://github.com/google/google-api-python-client/tree/master/samples .
This is ridiculous. This code is linked to from the official documentation ("v2 code samples" here: https://developers.google.com/android-publisher/libraries ) but no longer works?
Please update these python samples to use the current version of oauth2client.
@JoseAlcerreca
Change is as easy as replacing the current credential stuff with:
credentials = ServiceAccountCredentials.from_json_keyfile_name('<your_json_key_file>', scopes='https://www.googleapis.com/auth/androidpublisher')