Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python push.co API

Project description

PushCo -a Python API for push.co

Pushco is a simple API to provide access to your push.co app. Register one at http://push.co, you will get an API key and an API secret assigned

Install:

pip install pushco

Typical usage would be:

from pushco.pushco import Pushco

API_KEY = 'your API key'
API_SECRET ='your API secret'

p = Pushco(API_KEY, API_SECRET, 'Hi, this is a push message')
p.push()

#url view
p = Pushco(API_KEY, API_SECRET, 'Click for Python', url = 'http://python.org')
p.push()

#map view
p = Pushco(API_KEY, API_SECRET,'London', latitude = '51.5072', longitude='0.1275')
p.push()

Project details


Release history Release notifications

This version
History Node

1.2.3

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pushco-1.2.3.tar.gz (1.4 kB) Copy SHA256 hash SHA256 Source None Feb 25, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page