|
| 1 | +Metadata-Version: 1.1 |
| 2 | +Name: onesignal |
| 3 | +Version: 0.1.3 |
| 4 | +Summary: A Python wrapper for OneSignal API (http://onesignal.com) |
| 5 | +Home-page: https://github.com/gettalent/one-signal-python-sdk |
| 6 | +Author: Waqas Younas, Zohaib Ijaz, Ismael de Esteban |
| 7 | + |
| 8 | +License: UNKNOWN |
| 9 | +Description: OneSignal Python SDK |
| 10 | + ===================== |
| 11 | + |
| 12 | + A Python SDK for OneSignal (https://onesignal.com/). Documentation for OneSignal API is available at |
| 13 | + https://documentation.onesignal.com/docs/server-api-overview. |
| 14 | + |
| 15 | + Obtaining User Rest API key and App REST API key |
| 16 | + ------------------------------------------------- |
| 17 | + |
| 18 | + See details here https://documentation.onesignal.com/docs/server-api-overview |
| 19 | + |
| 20 | + Install from pip |
| 21 | + ------------------------ |
| 22 | + |
| 23 | + > pip install onesignal |
| 24 | + |
| 25 | + Setup for develop |
| 26 | + ------ |
| 27 | + |
| 28 | + You can install the package by running |
| 29 | + |
| 30 | + :: |
| 31 | + |
| 32 | + > python setup.py install |
| 33 | + |
| 34 | + Once installed, to get started, you can do: |
| 35 | + |
| 36 | + :: |
| 37 | + |
| 38 | + from onesignal import OneSignal |
| 39 | + one_signal = OneSignal(USER_AUTH_KEY, YOUR_APP_ID) |
| 40 | + one_signal.get_players(REST_API_KEY) |
| 41 | + |
| 42 | + |
| 43 | + USER_AUTH_KEY: Your e-mail -> Api Keys -> User Auth Key |
| 44 | + |
| 45 | + YOUR_APP_ID: Your App -> App settings -> Keys and Id |
| 46 | + |
| 47 | + REST_API_KEY: Your App -> App settings -> Keys and Id |
| 48 | + |
| 49 | + Tests |
| 50 | + ------ |
| 51 | + |
| 52 | + Tests are located under /tests and these also kind of show some examples on how to use the library. |
| 53 | + |
| 54 | + Running tests |
| 55 | + --------------- |
| 56 | + |
| 57 | + Go to this directory /tests and then run |
| 58 | + |
| 59 | + :: |
| 60 | + |
| 61 | + > py.test |
| 62 | + |
| 63 | + Contributors |
| 64 | + ------------- |
| 65 | + |
| 66 | + |
| 67 | + - Waqas Younas < [email protected]> |
| 68 | + |
| 69 | + |
| 70 | +Keywords: onesignal,onesignalsdk |
| 71 | +Platform: UNKNOWN |
| 72 | +Classifier: Development Status :: 3 - Alpha |
| 73 | +Classifier: Intended Audience :: Developers |
| 74 | +Classifier: Topic :: Internet |
| 75 | +Classifier: Topic :: Software Development :: Libraries |
| 76 | +Classifier: Topic :: Software Development :: Libraries :: Python Modules |
| 77 | +Classifier: Programming Language :: Python :: 2.7 |
0 commit comments