Yet another OneSignal API Client
Project description
I don’t like exisiting libraries.
This client is a mapping of the RESTful server API. There is a method for every API end-point with the corresponding arguments. Only two methods raise an exception create_notification and view_notification. In all the other cases you will get the errors from the API in the response.
Install
pip install yaosac
Usage
import yaosac yaosac.client.create_notification(player_ids) notification_id = 'a-notification-id-you-keep-somewhere' notification = yaosac.client.view_notification(notification_id)
Contribution/Testing
python setup.py test
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
yaosac-1.0-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file yaosac-1.0-py3-none-any.whl
.
File metadata
- Download URL: yaosac-1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 641198b04ee5c47f963a16de83eaf725678879d2e85adf5c0c470c93067c7110 |
|
MD5 | 9e79ed4cd7ea2c52d21a03160909f1f9 |
|
BLAKE2b-256 | 2943530bace1d990811d78e541aa25625d714779514903af1df67921d6bbcb1e |