Skip to main content

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 files for xtify 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xtify 0.1
File Size Uploaded
xtify-0.1.tar.gz 3.8 kB Details

Release files / xtify-0.1.tar.gz

Download URL xtify-0.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c7bbe87555c7f647f4877547cb18e6b9dceed2a23acd5347ab07e112b2fab805
BLAKE2b-256 checksum
How to use checksums
9fdd0b066576f796253752c2629959b4b0272054fe7330a1a48d5457a5179800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page