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.0

  • Alpha

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.0a2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recordbin-0.1.0a2-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file recordbin-0.1.0a2.tar.gz.

File metadata

  • Download URL: recordbin-0.1.0a2.tar.gz
  • Upload date:
  • Size: 5.0 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.0a2.tar.gz
Algorithm Hash digest
SHA256 13a37a3623fb88b867d938c9792174efb6539f143bff3d753870109d6df95649
MD5 63533f1618826414e8ab378ae9d4154a
BLAKE2b-256 7c4bd5be027acdb5ef700845abaa68ee28961e59eb39c62a5454d636ed22c1d1

See more details on using hashes here.

File details

Details for the file recordbin-0.1.0a2-py2.py3-none-any.whl.

File metadata

  • Download URL: recordbin-0.1.0a2-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.0a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d6c893aa305a5bdaf6daf997d34bc043e7d77b5871aecaa831c5d5a8622c8991
MD5 162419ed6c6a6cf0b48c2348c8fbf3be
BLAKE2b-256 b32898df1c319b22662aae1475457693d5cc0c1bc9d62e3433506a98443c880a

See more details on using hashes here.

Supported by

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