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.

Files for rbpy, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size rbpy-0.1.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View
Filename, size rbpy-0.1.1-py3.5.egg (4.7 kB) File type Egg Python version 3.5 Upload date Hashes View
Filename, size rbpy-0.1.1-py2.7.egg (4.6 kB) File type Egg Python version 2.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page