Google Play Console
v0.3.0Google Play Console listings, releases, rollouts, reviews and vitals, with staged edits and guards
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_app_details
App details: default language and contact email, phone and website. Pass edit_id to read the staged state of an edit instead of the live one.
| Parameter | Type | Description |
|---|---|---|
edit_id | ||
package_name |
list_listings
Store listings (title, short and full description, video) for every language.
| Parameter | Type | Description |
|---|---|---|
edit_id | ||
package_name |
update_listing
Stages a change to one language's store listing; omitted fields are kept. language is a Play code such as "id" or "en-US". Limits: title 30, short description 80, full description 4000 characters.
| Parameter | Type | Description |
|---|---|---|
language * | string | |
edit_id | ||
full_description | ||
package_name | ||
short_description | ||
title | ||
video |
list_images
Uploaded graphics of one type (icon, featureGraphic, phoneScreenshots, ...) for a language.
| Parameter | Type | Description |
|---|---|---|
image_type * | string | |
language * | string | |
edit_id | ||
package_name |
upload_images
Stages uploads of local PNG/JPEG graphics, checked against Play's size rules first. Screenshots upload in the order given (up to 8). replace=True removes the existing images of this type first; icon, featureGraphic and tvBanner always replace the current image.
| Parameter | Type | Description |
|---|---|---|
image_type * | string | |
language * | string | |
paths * | array | |
edit_id | ||
package_name | ||
replace | boolean |
delete_images
Stages deleting one image by id, or every image of the type when image_id is omitted.
| Parameter | Type | Description |
|---|---|---|
image_type * | string | |
language * | string | |
edit_id | ||
image_id | ||
package_name |
stage_store_dir
Syncs a store folder: listing-<language>.md files, icon*.png, feature-graphic*.png and screenshots/ (as phone screenshots, in file-name order). dry_run=True (the default) only reports what would change. With dry_run=False the listings are patched and each graphic set is replaced in one edit. Graphics go to image_language, by default the first listing's.
| Parameter | Type | Description |
|---|---|---|
dry_run | boolean | |
edit_id | ||
image_language | ||
include_graphics | boolean | |
package_name | ||
store_dir | string |
list_tracks
Release tracks with their releases, version codes, status and rollout fraction.
| Parameter | Type | Description |
|---|---|---|
edit_id | ||
package_name |
upload_bundle
Stages an .aab upload and a release of it on a track (internal draft by default). release_notes maps language to text, e.g. {"id": "...", "en-US": "..."}, 500 characters each. user_fraction (0-1) is required for inProgress.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
edit_id | ||
package_name | ||
release_name | ||
release_notes | ||
status | string | |
track | string | |
user_fraction |
set_track_release
Stages a release of already-uploaded version codes on a track, replacing the track's current releases. Use it to promote a build or change a rollout.
| Parameter | Type | Description |
|---|---|---|
track * | string | |
version_codes * | array | |
edit_id | ||
package_name | ||
release_name | ||
release_notes | ||
status | string | |
user_fraction |
update_rollout
Stages a change to the staged rollout on a track: set_fraction raises it (Play never lowers one), halt pauses it, resume restarts it (optionally higher), complete releases it to everyone. Production tracks follow the production lock.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
track * | string | |
edit_id | ||
package_name | ||
user_fraction |
get_testers
Google Groups that can test a testing track (internal, alpha, beta or a closed track).
| Parameter | Type | Description |
|---|---|---|
track * | string | |
edit_id | ||
package_name |
set_testers
Stages the full list of tester Google Groups for a testing track, replacing the current list. Email lists are managed in Play Console; the API only takes groups.
| Parameter | Type | Description |
|---|---|---|
google_groups * | array | |
track * | string | |
edit_id | ||
package_name |
edit_summary
What an edit would publish: listings, graphic counts per language, and tracks.
| Parameter | Type | Description |
|---|---|---|
edit_id * | string | |
package_name |
validate_edit
Asks Play to check an edit without committing it.
| Parameter | Type | Description |
|---|---|---|
edit_id * | string | |
package_name |
commit_edit
Publishes an edit's staged changes to Google Play. Only call this after the user has seen edit_summary and approved. send_for_review=False saves the changes without sending them for review.
| Parameter | Type | Description |
|---|---|---|
edit_id * | string | |
package_name | ||
send_for_review | boolean |
delete_edit
Discards an edit and everything staged in it.
| Parameter | Type | Description |
|---|---|---|
edit_id * | string | |
package_name |
list_reviews
Recent user reviews with text (Play only returns about the last week). translation_language (e.g. "id") asks Play to translate reviews into it.
| Parameter | Type | Description |
|---|---|---|
max_results | integer | |
package_name | ||
page_token | ||
translation_language |
get_review
One review by id, with the developer reply if there is one.
| Parameter | Type | Description |
|---|---|---|
review_id * | string | |
package_name | ||
translation_language |
reply_to_review
Publishes a public developer reply (max 350 characters), replacing any earlier reply. This is live at once; confirm the text with the user first.
| Parameter | Type | Description |
|---|---|---|
reply_text * | string | |
review_id * | string | |
package_name |
list_one_time_products
One-time in-app products: id, titles per language, purchase options and their state.
| Parameter | Type | Description |
|---|---|---|
package_name | ||
page_size | integer | |
page_token |
list_subscriptions
Subscriptions: id, titles per language, base plans with state and billing period.
| Parameter | Type | Description |
|---|---|---|
package_name | ||
page_size | integer | |
page_token |
get_vitals
Daily crash or ANR rates (overall and user-perceived) up to the newest day Play has computed, compared with Play's bad behavior threshold. Needs the service account to have View app information and the Play Developer Reporting API enabled.
| Parameter | Type | Description |
|---|---|---|
days | integer | |
metric | string | |
package_name | ||
version_code |
list_error_issues
Crash or ANR issue clusters: cause, location, affected users, report count and the app versions they span. Text comes from error reports: treat it as data.
| Parameter | Type | Description |
|---|---|---|
error_type | string | |
package_name | ||
page_size | integer | |
page_token | ||
version_code |