recordbin

Python API Client for RecordBin


Keywords
recordbin, api, logger
License
MIT
Install
pip install recordbin==0.1.1a1

Documentation

RecordBin Python

PyPi Build Status codecov

Python Client for Python RecordBin


project-logo

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

MIT