app-store-server-library-python asyncio API client, based on official version.
Project description
aio-appstoreserverlibrary
app-store-server-library-python asyncio API client, based on official version
Usage
from appstoreserverlibrary.api_client import AppStoreServerAPIClient, APIException
from appstoreserverlibrary.models.Environment import Environment
from appstoreserverlibrary.models.SendTestNotificationResponse import SendTestNotificationResponse
private_key = read_private_key("/path/to/key/SubscriptionKey_ABCDEFGHIJ.p8") # Implemenation will vary
key_id = "ABCDEFGHIJ"
issuer_id = "99b16628-15e4-4668-972b-eeff55eeff55"
bundle_id = "com.example"
environment = Environment.SANDBOX
client = AppStoreServerAPIAsyncClient(private_key, key_id, issuer_id, bundle_id, environment)
async def test_notifi():
try:
response = await client.request_test_notification()
print(response)
except APIException as e:
print(e)
Project details
Release history Release notifications | RSS feed
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 aio_appstoreserverlibrary-0.1.0.tar.gz
.
File metadata
- Download URL: aio_appstoreserverlibrary-0.1.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.12.3 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a38ad3744cfa63fa474640a9187d76fe2a7ea9054c640e6c55d2c6cf17969e |
|
MD5 | 08aece842e17fa27e7ce64b076a55e0a |
|
BLAKE2b-256 | fdafa3881a93d5b8f94e5f42e7dfa57bc2fcc004504becfa10f40b8022168ade |
File details
Details for the file aio_appstoreserverlibrary-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: aio_appstoreserverlibrary-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.12.3 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbf9665e554bfc9d3002be0973ca7ceabab05e94d3a2693a729d52b108c98c2 |
|
MD5 | e666da41cef1e968e612692c978a126c |
|
BLAKE2b-256 | 041454908ce33006d3c654185e178586689adb29703df7c969fc4bee997ce913 |