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 Distribution
bp-btc-com-0.0.3.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for bp_btc_com-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e109e5b6cbf703c44752eb738f4511304f8b4fa77de66dbde289a213ec247e0 |
|
MD5 | f489bea60c911cde8c79354f1405a0c4 |
|
BLAKE2b-256 | 2fd48859ea8c9e87fc76460bd70b8053aae2a13bbb3d29182ec604a1273d2569 |