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.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for bp_btc_com-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07962c6b2a9426c581f30f3489df2874a5cac7f27a522f453574bf764fa31157 |
|
MD5 | a1d4f355926e356b56b6c63c042e067c |
|
BLAKE2b-256 | e175196251f7ef426375e9cfd8e89d2b7b8eb56b6165d28836571a508b6d949a |