pchettiy / flask-gcm-server

A simple GCM message server in Flask.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flask-gcm (under development)

A simple GCM message server in Flask.

Simple server that has an API to accept app IDs and store them, and a form that pushes notifications to all registered devices.

Installation

python install.py

To change any of the settings later, edit the app/settings.py file.

Usage

Run the server

./manager.py

API

To register a new device, the device should send a POST request to /addid with the parameter reg_id containing the GCM Registration ID.

About

A simple GCM message server in Flask.

License:GNU General Public License v2.0


Languages

Language:Python 63.5%Language:JavaScript 18.7%Language:HTML 17.8%