Skip to main content

Python SDK for query crypto data from various API services.

Project description

Build and update package

  1. rm -rf ./dist ./build
  2. Update version in setup.py
  3. python setup.py sdist bdist_wheel
  4. twine check dist/* to check error
  5. twine upload dist/* to deploy pkg

Use below command to update the latest version

pip install --no-cache-dir --upgrade crypto-scan

Example

from crypto_scan.configs import ETH_CHAIN
from crypto_scan.scan import Scan

scan = Scan(ETH_CHAIN, env['ETHSCAN_API_KEY'])
scan.get_contract(addr)
scan.get_all_trans(addr, startblock=qr.max_block_num)

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

crypto_scan-0.3.5.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

crypto_scan-0.3.5-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page