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()