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 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.0a3.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.0a3-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: recordbin-0.1.0a3.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.0a3.tar.gz
Algorithm Hash digest
SHA256 9b9ebfcf24bcb6444dece88741051a2cb12391fabe1fa2a0a395d49fc6877052
MD5 c36d9914c70a9ce1c1c2a62b705f70a7
BLAKE2b-256 8edff59736d3364f32e889f566e0b726afc03d5c309f9496ba190c2e841b5f9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recordbin-0.1.0a3-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.0a3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 38fdfc8e3dd122eec204ab98a8123de13a24ec55d03d329329633f9cbea6b23d
MD5 aec648b8871704a935c65f52f11c5031
BLAKE2b-256 5acbd897e21bcfc7caa03517334e1f09cd9e54bee8b95837cf4c42391ff6a064

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