Skip to content

sann05/app-store-connect-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

128 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

app store connect client

Python package for App Store Connect API.

python_version Release latest_version LICENSE

It supports Python3.6.1+.

The complete documentation is here.

Installation

pip install app-store-connect-client

Getting Started

import app_store_connect_client as app_store
import json


app_id = '12345'
client = app_store.Client(username="XXX", password="XXX")
# query config.
config = {
    'measures': [app_store.measures.installs]
}
query = app_store.Query(app_id).metrics(config).date_range('2016-04-01', '2016-04-02')
results = client.execute(query)
print(json.dumps(results, indent=4))

results

{
    "size": 1,
    "results": [
        {
            "adamId": "12345678",
            "meetsThreshold": true,
            "group": null,
            "data": [
                {
                    "date": "2020-04-01T00:00:00Z",
                    "installs": 50.0
                }
            ],
            "totals": {
                "value": 50.0,
                "type": "COUNT",
                "key": "installs"
            }
        }
    ]
}

TODO

  • More tests
  • More Example
  • More docs
  • Support 2FA Authentication
  • Docstring
  • Support Review API
  • Support group_by method
  • Support filter_by method

Credit

Related Projects

LICENSE

MIT

Authors

About

Python package for App Store Connect Analytics API. (ex-iTunes Connect Analytics)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%