/HeliumAPI-Python

Unofficial API for Helium Explorer

Primary LanguagePythonMIT LicenseMIT

HeliumAPIpy

Unofficial API for Helium Explorer written in Python 3.

See more information at: https://docs.helium.com/api

Installing HeliumAPIpy:

pip install heliumapipy

Basic usage:

Just create a HeliumAPI object after importing it.

All data is being returned in json.

from heliumapipy.api import HeliumAPI
api = HeliumAPI()

Get token supply:

tokensupply = api.getTokenSupply()

Get block height:

blockheight = api.getBlockHeight()

Get block description:

blockdescription = api.getBlockDescription()

Get block transactions:

blocktransactions = api.getBlockTranscations('1000000')

Get richest accounts:

richestaccounts = api.getRichestAccounts()

Get hotspots by owner address:

gethotspots = api.getHotspotsByOwnerAddress('13AA8PcAZrsojsBVDy2JGEm242nWQeMmRoYaVndtkGy8dNfkn23')

Get activities by address:

getactivities = api.getActivitiesByAddress('13AA8PcAZrsojsBVDy2JGEm242nWQeMmRoYaVndtkGy8dNfkn23')