Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Developer Console v2

willlunniss edited this page Aug 4, 2012 · 25 revisions

A collection of information on the new 'v2' of the Android Developer Console.

Sign up for the new console here, note at the moment, Google lets you switch between the old and new so you can still access the old one via Andlytics.

Andlytics issue link.

Firstly it appears to be structured in a better way compared to the old one, it may even be possible to use a proper JSON parser for it.

Login/XSRF Token

TODO

App data

Request: POST https://play.google.com/apps/publish/v2/androidapps?dev_acc=DEV_ACCOUNT_ID

Payload: {"method":"fetch","params":[,,1,1],"xsrf":"XSRF_TOKEN"}

Response:

{ "result" : [ null,
      [ [ null,
          [ null,
            "PACKAGENAME",
            [ null,
              [ [ null,
                  "en-US",
                  "NAME",
                  "DESCRIPTION"
                  "",
                  "LAST_WHATS_NEW"
                ] ],
              [ null,
                0,
                24,
                1
              ]
            ],
            null,
            [ [ null,
                null,
                [ null,
                  null,
                  "PACKAGENAME",
                  VERSION_NUMBER,
                  "VERSION_NAME,
                  null,
                  [ null,
                    null,
                    null,
                    "APP_ICON_URL"
                  ]
                ],
                2
              ],
              .....
              LIST OF VERSIONS
              .....
            ],
            [ null,
              "PRICE",
              "GBP"
            ],
            "1343835459797", -- DATE?
            1
          ]
        ],
        .....
        LIST OF APPS
        .....
      ]
    ],
  "xsrf" : "XSRF_TOKEN"
}

Use: List of all apps and some of their version info

Stats

First request

Request: POST https://play.google.com/apps/publish/v2/androidapps?dev_acc=DEV_ACCOUNT_ID

Payload: {"method":"getSupportedMetrics","params":[,"PACKAGE_NAME"],"xsrf":"xsrf":"XSRF_TOKEN"}

Response: {"result":[null,0],"xsrf":"XSRF_TOKEN"}

Use: Not sure

App stats

Request: POST https://play.google.com/apps/publish/v2/androidapps?dev_acc=DEV_ACCOUNT_ID

Payload: "method":"getCombinedStats","params":[,"PACKAGE_NAME",1,1,[STATS_INDEX]],"xsrf":"xsrf":"XSRF_TOKEN"}

STATS_INDEX Key: Data by: 1 = Android version, 2 = Device, 3 = Country, 4 = Language, 5 = App version, 6 = Carrier

Reponse:

      [ null,
        [ null,
          [ [ null,
              "1327737599999", -- Day 1
              "5"
            ],
            ....
            Active installs by day
            ....
            [ null,
              "1344063599999", -- TODAY
              "ACTIVE_INSTALLS"
            ]
          ]
        ],
        [ null, -- Active installs by API, ordered most by API version today to last by API version today
          [ [ null,
              [ [ null,
                  "1327823999999",
                  "0"
                ],
                ....
                Active installs by day for android API 15
                ....
                [ null,
                  "1344063599999",
                  "4066"
                ]
              ],
              null,
              null,
              "15",
              "Android 4.0.3 - 4.0.4" -- VERSION
            ],
            
          ....
		  List by version
		  ....
          [ null,
            [ null,
              [ [ null,
                  "API e.g. 15",
                  "INSTALLS",
                  "VERSION RANGE e.g. Anroid 4.0.3 - 4.0.4"
                ],
                ....
                List of overview data
                ....
              ]
            ],
            null,
            [ null, -- Percentage data for my app
              [ [ null,
                  0.4757224757224757,
                  "Android 4.0.3 - 4.0.4",
                  "Android 4.0.3 - 4.0.4"
                ],
                ....
              ]
            ],
            null,
            [ null, -- All aps in category
              [ [ null,
                  "API",
                  "ACTIVE_INSTALLS_BY_VERSION",
                  "VERSION_RANGE",
                  0.18342732537584786
                ],
                ....
              ]
            ],
            null,
            [ null,
              [ [ null, -- Total
                  0.581975898262862,
                  "Android 2.3.3 - 2.3.7",
                  "Android 2.3.3 - 2.3.7"
                ],
                ....
              ]
            ],
            null,
            "1344063599999", -- DATE
            24, -- NOT SURE
            "ACTIVE_INSTALLS"
          ]
        ],
        null,
        null,
        null,
        null,
        null,
        "APP_NAME"
      ]
    ],
  "xsrf" : "XSRF_TOKEN"
}
Clone this wiki locally