Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Are there methods to get app information in this API? #60

Open
pguatura opened this issue Apr 15, 2020 · 2 comments
Open

Are there methods to get app information in this API? #60

pguatura opened this issue Apr 15, 2020 · 2 comments

Comments

@pguatura
Copy link

Hi! I've been looking for an API that returns some console information, but have only found editing apis. Is it possible to get any of the following information with this API or any other official API?

  • Running tracks
  • App version on each track
  • Current production rollout
  • ANR information and statistics

Thanks!

@carstenhag
Copy link

Also, a list of apps including package names etc would be very very useful. Currently all calls require a package name. I wanted to build a tool that displays an overview of the users' apps, but this is not possible.

FYI, the play console at https://play.google.com/console/u/0/developers/xxx/app-list calls https://playconsoleapps-pa.clients6.google.com/v1/developers/xxx/appSummaries. And with the right cookies, api keys blabla (which is not understandable, as it's a private api), it returns this:

{
  "appSummaries": [
    {
      "appReference": {
        "developerId": {
          "value": "5156449373921637191"
        },
        "appId": {
          "value": "4975802532378948439"
        }
      },
      "title": "Stadtplan Mosbach",
      "iconFifeUrl": "https://lh3.googleusercontent.com/4NB0aixNlS1hbSH29ciZrxWem7SPp-IvXgicY8RosXgWFHr8w_YQzKKRVo37xZ7546Y",
      "appState": {
        "lifeCycleStates": [
          "LIFE_CYCLE_STATE_OPEN_TESTING",
          "LIFE_CYCLE_STATE_CLOSED_TESTING",
          "LIFE_CYCLE_STATE_INTERNAL_TESTING"
        ],
        "type": "APP_TYPE_APP",
        "releaseTypeStatuses": {
          "tv": "RELEASE_TYPE_STATUS_DISABLED",
          "wear": "RELEASE_TYPE_STATUS_DISABLED",
          "automotive": "RELEASE_TYPE_STATUS_DISABLED",
          "daydream": "RELEASE_TYPE_STATUS_DISABLED",
          "battlestar": "RELEASE_TYPE_STATUS_DISABLED",
          "instantApps": "RELEASE_TYPE_STATUS_DISABLED"
        },
        "publishStatus": "PUBLISH_STATUS_NO_CHANGES",
        "managedPublishState": "MANAGED_PUBLISH_STATE_DISABLED"
      },
      "packageName": "de.chagemann.stadtplanmosbach",
      "updateTime": "2020-02-08T22:30:32.227Z"
    },
    {
      "appReference": {
        "developerId": {
          "value": "5156449373921637191"
        },
        "appId": {
          "value": "4973887619442785699"
        }
      },
      "title": "Sunny Weather",
      "iconFifeUrl": "https://lh4.ggpht.com/fFtBX6W1OKuChaWPyJlU94WxDbJ1biMT3Jn5jH9buULdO56PpON2l9aM-v2Npioiksc",
      "appState": {
        "lifeCycleStates": [
          "LIFE_CYCLE_STATE_BLOCKED"
        ],
        "type": "APP_TYPE_APP",
        "releaseTypeStatuses": {
          "tv": "RELEASE_TYPE_STATUS_DISABLED",
          "wear": "RELEASE_TYPE_STATUS_DISABLED",
          "automotive": "RELEASE_TYPE_STATUS_DISABLED",
          "daydream": "RELEASE_TYPE_STATUS_DISABLED",
          "battlestar": "RELEASE_TYPE_STATUS_DISABLED",
          "instantApps": "RELEASE_TYPE_STATUS_DISABLED"
        },
        "publishStatus": "PUBLISH_STATUS_NO_CHANGES",
        "managedPublishState": "MANAGED_PUBLISH_STATE_DISABLED"
      },
      "packageName": "pw.moter8.sunnyweather",
      "updateTime": "2017-08-02T18:09:37.257Z"
    },
    {
      "appReference": {
        "developerId": {
          "value": "5156449373921637191"
        },
        "appId": {
          "value": "4974881233639809673"
        }
      },
      "title": "Thinking Sticker Pack",
      "iconFifeUrl": "https://lh3.googleusercontent.com/FDD-cJ3QICdhmBZAvpRbTs4HCjIAfsUL3xXOJpd8wMZ01OkKW0EyWmYCn77DKMYl4HE",
      "appState": {
        "lifeCycleStates": [
          "LIFE_CYCLE_STATE_PRODUCTION"
        ],
        "type": "APP_TYPE_APP",
        "releaseTypeStatuses": {
          "tv": "RELEASE_TYPE_STATUS_DISABLED",
          "wear": "RELEASE_TYPE_STATUS_DISABLED",
          "automotive": "RELEASE_TYPE_STATUS_DISABLED",
          "daydream": "RELEASE_TYPE_STATUS_DISABLED",
          "battlestar": "RELEASE_TYPE_STATUS_DISABLED",
          "instantApps": "RELEASE_TYPE_STATUS_DISABLED"
        },
        "publishStatus": "PUBLISH_STATUS_NO_CHANGES",
        "managedPublishState": "MANAGED_PUBLISH_STATE_DISABLED"
      },
      "packageName": "de.chagemann.thinkingstickers",
      "updateTime": "2019-12-20T07:13:33.229Z"
    }
  ]
}

And the country information etc is also available as private api, but they just didn't make it public :(. Really sad.

@tiagomenegaz
Copy link

If anyone ever comes across it in the future. The codes listed here, like LIFE_CYCLE_STATE_OPEN_TESTING, LIFE_CYCLE_STATE_CLOSED_TESTING are the same listed in the main.dart.js file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants