Python API Client for RecordBin
Project description
RecordBin Python
Python Client for Python RecordBin
Installing
pip install recordbin
Usage Example
>>> from recordbin import RecordBin
>>> recordbin = RecordBin('http://ww-recordbin.herokuapp.com', token='123')
>>> recordbin.post({'username': 'gtalarico'})
Getting Posted Record
By default records are posted asynchronously and responses
are Future objects.
To get the post response use the result()
method
>>> future = recordbin.post({'username': 'gtalarico'})
>>> response = future.result()
>>> record = response.json()
License
======= History
0.1.0
- Alpha
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
recordbin-0.1.0a2.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for recordbin-0.1.0a2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6c893aa305a5bdaf6daf997d34bc043e7d77b5871aecaa831c5d5a8622c8991 |
|
MD5 | 162419ed6c6a6cf0b48c2348c8fbf3be |
|
BLAKE2b-256 | b32898df1c319b22662aae1475457693d5cc0c1bc9d62e3433506a98443c880a |