yrcjaya / python-gcm

Python client for Google Cloud Messaging for Android (GCM)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-gcm

Join the chat at https://gitter.im/geeknam/python-gcm

image

image

Build Status

Code Health

image

image

Python client for Google Cloud Messaging for Android (GCM)

Installation

Features

  • Supports multicast message
  • Resend messages using exponential back-off
  • Proxy support
  • Easily handle errors
  • Uses requests from version > 0.2

Usage

RTFM here

Basic

Error handling

Exceptions

Read more on response errors here

  • GCMMalformedJsonException
  • GCMConnectionException
  • GCMAuthenticationException
  • GCMTooManyRegIdsException
  • GCMNoCollapseKeyException
  • GCMInvalidTtlException
  • GCMMissingRegistrationException
  • GCMMismatchSenderIdException
  • GCMNotRegisteredException
  • GCMMessageTooBigException
  • GCMInvalidRegistrationException
  • GCMUnavailableException

About

Python client for Google Cloud Messaging for Android (GCM)

License:MIT License


Languages

Language:Python 100.0%