Skip to main content

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


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)

Uploaded Python 3

File details

Details for the file yaosac-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for yaosac-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 641198b04ee5c47f963a16de83eaf725678879d2e85adf5c0c470c93067c7110
MD5 9e79ed4cd7ea2c52d21a03160909f1f9
BLAKE2b-256 2943530bace1d990811d78e541aa25625d714779514903af1df67921d6bbcb1e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page