Python API Client for RecordBin
Project description
RecordBin Python
Python Client for Python RecordBin
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
History
0.1.0
- Alpha Release
Project details
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for recordbin-0.1.0a3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38fdfc8e3dd122eec204ab98a8123de13a24ec55d03d329329633f9cbea6b23d |
|
MD5 | aec648b8871704a935c65f52f11c5031 |
|
BLAKE2b-256 | 5acbd897e21bcfc7caa03517334e1f09cd9e54bee8b95837cf4c42391ff6a064 |