Metadata-Version: 2.0
Name: yaosac
Version: 1.0
Summary: Yet another OneSignal API Client
Home-page: https://github.com/alej0varas/yaosac
Author: Alexandre Varas
Author-email: alej0varas@gmail.com
License: GNU Library or Lesser General Public License (LGPL)
Keywords: onesignal push notification client api sdk
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: requests

======
 Why?
======

I don't like exisiting libraries.

This client is a mapping of the `RESTful server API <https://documentation.onesignal.com/reference>`_. 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


