android-play-publisher-api icon indicating copy to clipboard operation
android-play-publisher-api copied to clipboard

Examples don't match current library version

Open filipesperandio opened this issue 8 years ago • 2 comments

filipesperandio avatar Sep 17 '15 19:09 filipesperandio

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 .

kevin-brotcke avatar Dec 02 '16 21:12 kevin-brotcke

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')

hrydgard avatar Mar 23 '17 11:03 hrydgard