Skip to content
This repository was archived by the owner on Dec 28, 2018. It is now read-only.

Feverup/kahuna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

kahuna is a Python library for using the Kahuna web service API for push notifications.

Requirements

Python 2.6, 2.7, 3.3 or 3.4 is required. Requests module

Usage

Simple iOS Push

>>> from kahuna import Kahuna
>>> kahuna = Kahuna(url, username, password)
>>> push = kahuna.create_push()
>>> push.target = [user_ids]
>>> push.send()

Curl test: curl https://secret:secret@tap-nexus.appspot.com/api/push?env=s -H "Content-Type: application/json" -X POST -d "{'push_array': [{'notification': {'alert': 'This the test'}, 'target': {'email': 'fevertesting5@feverup.com'}}]}"

About

Python library to send transactional pushes through Kahuna

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors