Skip to main content

Python module for Microsoft Push Notification Service (MPNS) for Windows Phone

Project description

Python module for Microsoft Push Notification Service (MPNS) for Windows Phone.

It supports Toast, Tile and Raw notification formats (the latter one is not tested yet).

Usage

from mpns import MPNSTile, MPNSToast, MPNSRaw

uri = ‘http://db3.notify.live.net/throttledthirdparty/01.00/ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890’ toast = MPNSToast() tile = MPNSTile()

toast.send(uri, {‘text1’: ‘Hello’, ‘text2’: ‘Windows Phone’}) toast.send(uri, {‘text1’: ‘Tap this message’, ‘text2’: ‘To open application’})

tile.send(uri, {‘title’: ‘Tile title’}

TODO

  • Support Windows Phone 8 extended tile notifications

  • More testing

Project details


Download files

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

Source Distribution

python-mpns-0.1.6.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file python-mpns-0.1.6.tar.gz.

File metadata

  • Download URL: python-mpns-0.1.6.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-mpns-0.1.6.tar.gz
Algorithm Hash digest
SHA256 a2da44152a09e28893d00d3c902112b4836b472bd49a76050e51b7b3ea83528b
MD5 24c9e97f19bfac4cb3abdad9cb3c9469
BLAKE2b-256 7e310cc20afdf4a4baf24fc1b946b496a62d4784f9e8d8e97d3cdbaeb9b7791b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page