appledev-0.0.1
توضیحات
Apple AppStore Connect Api
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | appledev-0.0.1 |
| نام | appledev |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | WHDevLab |
| ایمیل نویسنده | whdevlab@163.com |
| آدرس صفحه اصلی | https://github.com/whdevlab/appledev |
| آدرس اینترنتی | https://pypi.org/project/appledev/ |
| مجوز | MIT |
appledev
Installation
------------
The project is published on PyPI, install with:
pip install appledev
Usage
-----
Please follow instructions on [Apple documentation](https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api) on how to generate an API key.
With your *key ID*, *key file* and *issuer ID* create a new API instance:
```python
from appledev import AppStoreConnect
asc = AppStoreConnect(key_id, path_to_key_file, issuer_id)
```
Here are a few examples of API usage
```python
# 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
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | PyJWT |
نحوه نصب
نصب پکیج whl appledev-0.0.1:
pip install appledev-0.0.1.whl
نصب پکیج tar.gz appledev-0.0.1:
pip install appledev-0.0.1.tar.gz