Metadata-Version: 2.1
Name: aio-appstoreserverlibrary
Version: 0.1.0
Summary: app-store-server-library-python asyncio API client, based on official version.
Author-Email: Kevin Lee <363344+ipfans@users.noreply.github.com>
License: MIT
Requires-Python: <4,>=3.8
Requires-Dist: app-store-server-library>=1.0.0
Requires-Dist: httpx>=0.26.0
Description-Content-Type: text/markdown

# aio-appstoreserverlibrary

app-store-server-library-python asyncio API client, based on official version


## Usage

```python
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)
```
