A Python wrapper around Apple AppStore Connect Api
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file appstoreconnectapi-0.0.8.tar.gz
.
File metadata
- Download URL: appstoreconnectapi-0.0.8.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a8c54535968a6dc8c7f3a32e1ab45a9505d3e12b67bed80e3baabb3b0fa9284 |
|
MD5 | f89c6c14c30f26ef9257ca19770e2040 |
|
BLAKE2b-256 | 63d321385589a13bc0f8a4bcc21edeaa86e067f6538de60ae402257b35229d3c |
File details
Details for the file appstoreconnectapi-0.0.8-py2-none-any.whl
.
File metadata
- Download URL: appstoreconnectapi-0.0.8-py2-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 2
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52e3a571318d173026d4bcfa0ddffcf6b5645e989ef751e8a4b9b2908fba09fa |
|
MD5 | 4675270341243b0542ca88154af46aba |
|
BLAKE2b-256 | a2d778604ad0cfed2c231efcc1fabf2b08b5c8786dd0c1c03a19237d1cbffa88 |