App Store Connect Api
This is a Python wrapper around the Apple App Store Api : https://developer.apple.com/documentation/appstoreconnectapi
So far, it handles token generation / expiration, methods for listing resources and downloading reports.
Installation
The project is published on PyPI, install with:
pip install appstoreconnectapi
Usage
Please follow instructions on Apple documentation on how to generate an API key.
With your key ID, key file and issuer ID create a new API instance:
from appstoreconnectapi import AppStoreConnect
asc = AppStoreConnect(key_id, path_to_key_file, issuer_id)
Here are a few examples of API usage
# list all profiles
profiles = asc.getProfiles()
print profiles
#list all certificates
certificates = asc.getCertificates()
print profiles
#download profile
asc.downloadProfile(profileID='xxxxx', saveFolderPath='./'):
#download certificate
asc.downloadCertificate(certificatID='xxxxx', saveFolderPath='./'):
#other api,for example list all bundleids
#method: get or post
res = asc.fetch(uri='/v1/bundleIds', method='get', post_data=None)
print res
more api goto https://developer.apple.com/documentation/appstoreconnectapi
Metadata
Release files for appstoreconnectapi 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| appstoreconnectapi-0.0.8.tar.gz | 3.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| appstoreconnectapi-0.0.8-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.6 kB
Release files / appstoreconnectapi-0.0.8.tar.gz
| Download URL | appstoreconnectapi-0.0.8.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a8c54535968a6dc8c7f3a32e1ab45a9505d3e12b67bed80e3baabb3b0fa9284
|
|
BLAKE2b-256 checksum How to use checksums |
63d321385589a13bc0f8a4bcc21edeaa86e067f6538de60ae402257b35229d3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.10
|
Release files / appstoreconnectapi-0.0.8-py2-none-any.whl
| Download URL | appstoreconnectapi-0.0.8-py2-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
52e3a571318d173026d4bcfa0ddffcf6b5645e989ef751e8a4b9b2908fba09fa
|
|
BLAKE2b-256 checksum How to use checksums |
a2d778604ad0cfed2c231efcc1fabf2b08b5c8786dd0c1c03a19237d1cbffa88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.10
|