Skip to content
This repository was archived by the owner on Jan 31, 2021. It is now read-only.

Tutorial

Shoma Okamoto edited this page Apr 24, 2020 · 2 revisions

Authentication

import app_store_connect_client as app_store
username = "foo"
password = "XXX"
client = app_store.Client(username, password)

Two factor Authentication(2FA)

Just set is_2fa_auth to True to enable Two factor authentication mode.

client = app_store.Client(username, password, is_2fa_auth=True)

You will be prompted to enter the code during login, so enter it without any spaces and press the Enter key.

Work In Progress

Changing the provider

example

provider_id = "123456"
client.change_provider(provider_id)
print(client.get_apps())

Please check your own apps with get_apps() to see if the providers have switched properly.

Run Query

Query Types

We have two types. These are metrics and sources.

Metrics

import app_store_connect as app_store

Sources

Source query is a query to get Sources on App Store Connect. It can be used for referrer analysis and so on.

import app_store_connect as app_store
Clone this wiki locally