# pushingbox A very simple Python client for the [PushingBox](https://www.pushingbox.com/index.php) Notification service API.
## Installation Simply install using pip as follows:
pip install PushingBox
or clone this repo and run the following:
python setup.py install
You will need to install the [requests](http://python-requests.org) module (pip install -r requirements.txt).
## Usage This is extremely simple. First create a ‘Scenario’ via the [PushingBox dashboard](https://www.pushingbox.com/scenarios.php). This will generate a DeviceID for your scenario, for example: v0123456789ABCDE. To use this scenario with this python library is as easy as the following:
` >>> from PushingBox import PushingBox >>> pbox=PushingBox() >>> pbox.push('v0123456789ABCDE') `
If your Scenario contains variables, as per the following example from the [PushingBox API page](https://www.pushingbox.com/api.php):
The $room$ temperature is $temperature$ degrees
then you can pass these variables as keyword arguments to the push() method as follows:
>>> pbox.push(‘v0123456789ABCDE’, room=’kitchen’, temperature=’23’)
Its as simple as that.
## Compatability So far, this module has been tested with Python 3.5 on macOS Sierra (10.12.1). As this is an extemely simple pure python module, I see no reason why it won’t work anywhere and everywhere, but if doesn’t: let me know (preferably with a stack trace!).
Metadata
Release files for PushingBox 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PushingBox-0.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / PushingBox-0.1.3-py2.py3-none-any.whl
| Download URL | PushingBox-0.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4948d96bc960da44527be06b18e4c3010d838fa4284846b3bcb903b587be7d16
|
|
BLAKE2b-256 checksum How to use checksums |
5a53fb97d67228b8c754ecdb184edc9553ee0fba0a37a1bd68b3300a91f38910
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for PushingBox 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.