Python wrapper around the RelayBox API.
Project description
rbpy
===============================
version number: 0.1.1
author: Matt Maybeno
Overview
--------
Python wrapper around the RelayBox API.
Installation / Usage
--------------------
To install use pip:
$ pip install rbpy
Or clone the repo:
$ git clone git@bitbucket.org:relaybox/rbpy.git
$ python setup.py install
Example
-------
```python
from __future__ import print_function
import json
import rbpy
box = rbpy.Box('private_code_here', 'publid_id_here')
box.send('hello world private message')
box.send('hello world public message', public=True)
box.get() # gets box messages
print(json.dumps(box.get(), indent=1)) # get box messages pretty
```
===============================
version number: 0.1.1
author: Matt Maybeno
Overview
--------
Python wrapper around the RelayBox API.
Installation / Usage
--------------------
To install use pip:
$ pip install rbpy
Or clone the repo:
$ git clone git@bitbucket.org:relaybox/rbpy.git
$ python setup.py install
Example
-------
```python
from __future__ import print_function
import json
import rbpy
box = rbpy.Box('private_code_here', 'publid_id_here')
box.send('hello world private message')
box.send('hello world public message', public=True)
box.get() # gets box messages
print(json.dumps(box.get(), indent=1)) # get box messages pretty
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rbpy-0.1.1.tar.gz
(3.0 kB
view hashes)
Built Distributions
rbpy-0.1.1-py3.5.egg
(4.7 kB
view hashes)
rbpy-0.1.1-py2.7.egg
(4.6 kB
view hashes)