Skip to main content

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
```

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

rbpy-0.1.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distributions

rbpy-0.1.1-py3.5.egg (4.7 kB view hashes)

Uploaded Source

rbpy-0.1.1-py2.7.egg (4.6 kB view hashes)

Uploaded Source

Supported by

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