//
pkg.gl
Category
github.com/c9s/bbgo
pkg
datasource
glassnode
glassnodeapi
package
1.60.0
Repository:
https://github.com/c9s/bbgo.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
10
Dependents
1
Files
396 SLOC
#
Functions
NewRestClient
#
Constants
FormatCSV
FormatJSON
Interval10m
Interval1h
Interval1m
Interval1w
Interval24h
#
Structs
Data
Request
go:generate requestgen -method GET -type Request -url "/v1/metrics/:category/:metric" -responseType DataSlice.
RestClient
#
Type aliases
DataSlice
In Glassnode API, there are two types of response, for example: /v1/metrics/market/marketcap_usd [ { "t": 1614556800, "v": 927789865185.0476 }, ..
Format
Interval
Timestamp