All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| fetch_apple_wallet_subscriber_activity | GET /v2/apple/wallet/pass/subscriber/activity/{subscriptionID} | Get subscriber activity |
| fetch_apple_wallet_subscribers | GET /v2/apple/wallet/pass/subscribers/all | Get all subscribers |
List[object] fetch_apple_wallet_subscriber_activity(subscription_id)
Get subscriber activity
import wallet
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.AppleWalletSubscribersApi(api_client)
subscription_id = 'subscription_id_example' # str |
try:
# Get subscriber activity
api_response = api_instance.fetch_apple_wallet_subscriber_activity(subscription_id)
print("The response of AppleWalletSubscribersApi->fetch_apple_wallet_subscriber_activity:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AppleWalletSubscribersApi->fetch_apple_wallet_subscriber_activity: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| subscription_id | str |
List[object]
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[object] fetch_apple_wallet_subscribers(start_date_time=start_date_time, end_date_time=end_date_time)
Get all subscribers
import wallet
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.AppleWalletSubscribersApi(api_client)
start_date_time = '2013-10-20T19:20:30+01:00' # datetime | (optional)
end_date_time = '2013-10-20T19:20:30+01:00' # datetime | (optional)
try:
# Get all subscribers
api_response = api_instance.fetch_apple_wallet_subscribers(start_date_time=start_date_time, end_date_time=end_date_time)
print("The response of AppleWalletSubscribersApi->fetch_apple_wallet_subscribers:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AppleWalletSubscribersApi->fetch_apple_wallet_subscribers: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| start_date_time | datetime | [optional] | |
| end_date_time | datetime | [optional] |
List[object]
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]