Skip to content

nlnsaoadc/py-etherscan

Repository files navigation

py-etherscan-client-pypi

Etherscan REST API Doc: https://docs.etherscan.io/

Install

pip install py-etherscan-client

Usage

from etherscan import Etherscan

es = Etherscan(key="<your-key-here>")
es.get_gas_oracle()

Testing

virtualenv venv
source ./venv/bin/activate
pip install -r dev_requirements.txt
deactivate
source ./venv/bin/activate
pytest