An api wrapper for btc.com block explorer api
Project description
btc-com
A python 3 api wrapper for btc.com block explorer
docs: https://github.com/pasquantonio/btc.com-api-wrapper/blob/master/docs.md
api docs: https://btc.com/api-doc
block explorer: https://btc.com/block
Install
pip install btc-com
must be python3 so if not in a python3 virtualenv use
pip3 install btc-com
Usage
from btc_com import explorer
# get transaction by id
tx_id = '56a5b477182cddb6edb460b39135a3dc785eaf7ea88a572052a761d6983e26a2'
tx = explorer.get_transaction(tx_id)
# get address data
address = '3ADPkym6mQ2HyP7uASh5g3VYauhCWZpczF'
addr_info = explorer.get_address(address)
Examples
examples.py shows multiple examples of calling functions https://github.com/pasquantonio/btc.com-api-wrapper/blob/master/examples.py
Donate
BTC: 3ADPkym6mQ2HyP7uASh5g3VYauhCWZpczF
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for bp_btc_com-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef465e4fc7acb6d1a94e8d71894e19755f0bf75ad148566b73afba69d41fb278 |
|
MD5 | bda6e62442112c34a8b349c2aa474b0e |
|
BLAKE2b-256 | 5c715526bf48e21e36c22645709f2fb2770c581d1c0def733e7824da028177a6 |