No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead, 564 commits behind urbanairship:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.hgignore
AUTHORS
LICENSE
MANIFEST.in
README.rst
__init__.py
setup.py
urbanairship.py

README.rst

About

This here is a library for using the Urban Airship web service API for iPhone push notifications.

Requirements

Tested on Python 2.5 and 2.6 -- it'll probably work on earlier versions. If you're using Python 2.5 or earlier, you'll need to install simplejson.

Functionality

As of 0.3 the library handles these parts of the API:

  • device token registration
  • basic push
  • registering and pushing with tags
  • broadcast
  • feedback service
  • device token deactivation (deregistration)
  • device token listing

Usage

>>> import urbanairship
>>> airship = urbanairship.Airship(application_key, master_secret)
>>> airship.register('valid_token', alias='adam')
>>> airship.push({'aps': {'alert': 'Hello'}}, aliases=['adam'],
...     device_tokens=['some_other_token'])

Questions

The best place to ask questions is our developers mailing list: http://groups.google.com/group/urbanairship-dev

History

  • 0.1 Initial release
  • 0.2 Added tags, broadcast, feedback
  • 0.3 Added deregister, device token list, other minor improvements