A small example package
Project description
Chaintrail API Wrapper
Installation
pip3 install chaintrailapi
Import and use the package as demonstrated in example.py
below:
from chaintrailapi import Account
uuid = Account.uuid()
account = Account('0x7f5f79c034e9781c03c4b4412e1f99ae9b413658')
print('UUID response: {}'.format(uuid))
print('Info response: {}'.format(account.info()))
Be sure to the CHAINTRAIL_BASE_URL
environment variable before running example.py
as follows:
export CHAINTRAIL_BASE_URL=https://httpbin.org
python3 example.py
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
chaintrailapi-0.0.5.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for chaintrailapi-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39db7884482b2caaf6fb41b71144bfb1acc4f50f3ad9fb7e75c5772ffa16f76a |
|
MD5 | 2de3f683bf6997f84bda84c1129f820c |
|
BLAKE2b-256 | a1658f1304fc5ad94c3ed553e2a099833bcf20a8ec90d423393a419b5394f6b4 |