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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page