Skip to main content

Python API Client for RecordBin

Project description

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

History

0.1.1

  • Alpha Release

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 recordbin, version 0.1.1a1
Filename, size File type Python version Upload date Hashes
Filename, size recordbin-0.1.1a1-py2.py3-none-any.whl (5.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size recordbin-0.1.1a1.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page