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.1
- Alpha Release
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.1a1.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for recordbin-0.1.1a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cba015498c078be4e18743365a63be1400e1fbcd3d3ca0cb217b8768a67abdf |
|
MD5 | 8167a87287f8e077beb2975db22a2e93 |
|
BLAKE2b-256 | c47256f3f7258feaf6089d43bc6b01d461c55e3dbda902a6e340dca14bb3567c |