Skip to content

Introduction and Installation

KronosKoderS edited this page Nov 11, 2015 · 10 revisions

Introduction

py_pushover is a object oriented wrapper to the Pushover API and attempts to match as best as possible the Web API. This module supports Python 2.7.x and Python 3.x. This module requires the requests module to be installed with it.

Basic Usage

Below is a basic example of how to send a message using the py_pushover module

import py_pushover as py_po
pm = py_po.PushManager(<app_token>, group_key=<group_token>)
pm.push_message('This is a quick test', title='Hello World!')

Installation steps

Using PyPi (pip)

py_pushover is available using pip:

pip install py_pushover

Manual Installation

  1. Download the source files to your desired location. Some suggested ways to download the source code:

  2. Navigate to the source code and run the following command:

     python setup.py install
    

Installation is now complete.

Clone this wiki locally