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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file recordbin-0.1.1a1.tar.gz.

File metadata

  • Download URL: recordbin-0.1.1a1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for recordbin-0.1.1a1.tar.gz
Algorithm Hash digest
SHA256 825794203dec77cc6fe3dabeafea8200e22c10a83666183405b090683167b8e9
MD5 8f214026cca3cc25cab6723176ed3b44
BLAKE2b-256 72548d2770907f601e304cbb994339d9e24f6826682e42205d7dad006f32f01e

See more details on using hashes here.

File details

Details for the file recordbin-0.1.1a1-py2.py3-none-any.whl.

File metadata

  • Download URL: recordbin-0.1.1a1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for recordbin-0.1.1a1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0cba015498c078be4e18743365a63be1400e1fbcd3d3ca0cb217b8768a67abdf
MD5 8167a87287f8e077beb2975db22a2e93
BLAKE2b-256 c47256f3f7258feaf6089d43bc6b01d461c55e3dbda902a6e340dca14bb3567c

See more details on using hashes here.

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