Skip to main content

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


Download files

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

Source Distribution

pushco-1.2.3.tar.gz (1.4 kB view details)

Uploaded Source

File details

Details for the file pushco-1.2.3.tar.gz.

File metadata

  • Download URL: pushco-1.2.3.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pushco-1.2.3.tar.gz
Algorithm Hash digest
SHA256 adc5f6b7490d2199a9e81a7b35fb8e7e552ba02cfb11ac216d338ed76445666b
MD5 e283ec761469ae509edde0cb4c829860
BLAKE2b-256 5fceffbc7643d12cc46eef37df863ebd8fb8fcbb3f36d00100def4364259186d

See more details on using hashes here.

Supported by

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