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.

Source Distribution

recordbin-0.1.1a1.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

recordbin-0.1.1a1-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page