Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Python module for using the Xtify webservice API

Project Description

About

Python library for using the Xtify web service API for mobile push notifications.

Requirements

Tested using Python 2.7, it will probably work on older versions. For versions of Python 2.5 or earlier``simplejson`` will need to be installed.

Functionality

As of version 0.1 only the Xtify Push API 2.0 is implemented. Mostly because it was the only one I needed, at least for now….

Available Classes: PushNotification, PushContent, PushAction, PushRichContent

Usage Examples

>>> import xtify
>>> pushNotif = xtify.PushNotification(appKey='myAppKey', apiKey='myApiKey)
>>> pushNotif.sendAll=True
>>> pushNotif.content.subject='greetings earthling'
>>> pushNotif.content.message='take me to your leader'
>>> pushNotif.push()
>>> import xtify
>>> pushContent = xtify.PushContent(
    subject='greetings earthling', message='take me to your leader')
>>> pushNotif = xtify.pushNotification(
    appKey='myAppKey', apiKey='myApiKey', sendall=True, content=pushContent)
>>> pushNotif.push()

Release history Release notifications

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
xtify-0.1.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None Jan 22, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page