Official ActivitySmith Python SDK
Project description
ActivitySmith Python Library
The ActivitySmith Python library provides convenient access to the ActivitySmith API from Python applications.
Documentation
See the API reference.
Installation
This package is available on PyPI:
pip install activitysmith
Alternatively, install from source with:
python -m pip install .
Usage
import os
from activitysmith import ActivitySmith
client = ActivitySmith(
api_key=os.environ["ACTIVITYSMITH_API_KEY"],
)
# Push Notifications
client.notifications.send_push_notification(
push_notification_request={
# See PushNotificationRequest for fields
}
)
# Live Activities
client.live_activities.start_live_activity(
live_activity_start_request={
# See LiveActivityStartRequest for fields
}
)
API Surface
The client exposes grouped resources:
client.live_activitiesclient.notifications
Request/response models are included and can be imported from activitysmith_openapi.models.
Requirements
- Python 3.9 or newer
License
MIT
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file activitysmith-0.1.0.tar.gz.
File metadata
- Download URL: activitysmith-0.1.0.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c39f6de13741f32519ef53fc5d4a6bfb7e81481da0f15977b7882044643587f9
|
|
| MD5 |
0a1116c98bd1a96bc63b8095ad99e0e4
|
|
| BLAKE2b-256 |
48cae1f353a7575dcc3766b2fbdc56f0a51404e8190514e21894fe657451463e
|
File details
Details for the file activitysmith-0.1.0-py3-none-any.whl.
File metadata
- Download URL: activitysmith-0.1.0-py3-none-any.whl
- Upload date:
- Size: 59.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51a59cb9b6ebb10544708ee8eb9c856e8302769e111d0be1be567e5323ccb0e1
|
|
| MD5 |
3215484c75646ae33882226033e08c05
|
|
| BLAKE2b-256 |
52a5e9ffa94e6d22e87e54158b360de691d98af80130dd60805925e46e2488be
|