statistics

package
v0.0.0-...-746b095 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChartData

func GetChartData(chartType string, timespan string, format string) (string, error)

GetChartData fetches the graphing data used in https://blockchain.info/charts for the specified `chartType`. `timespan` (e.g. "5weeks"); defaults to "1year" if passed an empty string. `format` can be "json" or 'csv'; defaults to to "json" if passed an empty string.

func GetPoolData

func GetPoolData(timespan string) (string, error)

GetPoolData fetches data behind https://blockchain.info/pools. `timespan` has a maximum of "10days"; defaults to "4days" if passed an empty string.

func GetStats

func GetStats() (string, error)

GetStats fetches the data behind https://blockchain.info/stats.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL