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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size appstoreconnectapi-0.0.8-py2-none-any.whl (3.4 kB) | File type Wheel | Python version py2 | Upload date | Hashes View |
Filename, size appstoreconnectapi-0.0.8.tar.gz (3.2 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for appstoreconnectapi-0.0.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52e3a571318d173026d4bcfa0ddffcf6b5645e989ef751e8a4b9b2908fba09fa |
|
MD5 | 4675270341243b0542ca88154af46aba |
|
BLAKE2-256 | a2d778604ad0cfed2c231efcc1fabf2b08b5c8786dd0c1c03a19237d1cbffa88 |