Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinID ¶
type CoinID struct {
ID string `json:"id"`
Symbol string `json:"symbol"`
Name string `json:"name"`
AssetPlatformID string `json:"asset_platform_id"`
BlockTimeInMinutes int64 `json:"block_time_in_minutes"`
HashingAlgorithm string `json:"hashing_algorithm"`
Categories []string `json:"categories"`
// PublicNotice ¿? `json:"public_notice"`
// AdditionalNotices ¿? `json:"public_notices"`
Localization types.Localization `json:"localization"`
Description types.Description `json:"description"`
Links types.Links `json:"links"`
Image types.Image `json:"image"`
CountryOrigin string `json:"country_origin"`
GenesisData string `json:"genesis_date"`
SentimentVotesUpPercent float64 `json:"sentiment_votes_up_percentage"`
SentimentVotesDownPercent float64 `json:"sentiment_votes_down_percentage"`
MarketCapRank int64 `json:"market_cap_rank"`
CoingeckoRank int64 `json:"coingecko_rank"`
CoingeckoScore float64 `json:"coingecko_score"`
DeveloperScore float64 `json:"developer_score"`
CommunityScore float64 `json:"community_score"`
LiquidityScore float64 `json:"liquidity_score"`
PublicInterestScore float64 `json:"public_interest_score"`
MarketData types.MarketData `json:"market_data"`
CommunityData types.CommunityData `json:"community_data"`
DeveloperData types.DeveloperData `json:"developer_data"`
PublicInterestStats types.PublicInterestStats `json:"public_interest_stats"`
Tickers []types.Ticker `json:"tickers"`
}
type History ¶
type History struct {
ID string `json:"id"`
Symbol string `json:"symbol"`
Name string `json:"name"`
Localization types.Localization `json:"localization"`
Image types.Image `json:"image"`
MarketData HistoryMarketData `json:"market_data"`
CommunityData types.CommunityData `json:"community_data"`
DeveloperData types.DeveloperData `json:"developer_data"`
PublicInterestStats types.PublicInterestStats `json:"public_interest_stats"`
}
type HistoryMarketData ¶
type HistoryMarketData struct {
CurrentPrice types.PriceRates `json:"current_price"`
MarketCap types.PriceRates `json:"market_cap"`
TotalVolume types.PriceRates `json:"total_volume"`
}
type Market ¶
type Market struct {
ID string `json:"ID"`
Symbol string `json:"symbol"`
Name string `json:"name"`
Image string `json:"image"`
CurrentPrice float64 `json:"current_price"`
MarketCap float64 `json:"market_cap"`
MarketCapRank int64 `json:"market_cap_rank"`
FullyDilutedValuation float64 `json:"fully_diluted_valuation"`
TotalVolume float64 `json:"total_volume"`
HighDay float64 `json:"high_24h"`
LowDay float64 `json:"low_24h"`
PriceChangeDay float64 `json:"price_change_24h"`
PriceChangePercentageDay float64 `json:"price_change_percentage_24h"`
MarketCapChangeDay float64 `json:"market_cap_change_24h"`
MarketCapChangePercentageDay float64 `json:"market_cap_change_percentage_24h"`
CirculatingSupply float64 `json:"circulating_supply"`
TotalSupply float64 `json:"total_supply"`
MaxSupply float64 `json:"max_supply"`
Ath float64 `json:"ath"`
AthChangePercentage float64 `json:"ath_change_percentage"`
AthDate string `json:"ath_date"`
Atl float64 `json:"atl"`
AtlChangePercentage float64 `json:"atl_change_percentage"`
AtlDate string `json:"atl_date"`
Roi types.Roi `json:"roi"`
LastUpdated string `json:"last_updated"`
SparklineInWeek types.Sparkline `json:"sparkline_in_7d"`
PriceChangePercentageTwoWeeksInCurrency float64 `json:"price_change_percentage_14d_in_currency"`
PriceChangePercentageHourInCurrency float64 `json:"price_change_percentage_1h_in_currency"`
PriceChangePercentageThreeMonthsInCurrency float64 `json:"price_change_percentage_200d_in_currency"`
PriceChangePercentageDayInCurrency float64 `json:"price_change_percentage_24h_in_currency"`
PriceChangePercentageMonthInCurrency float64 `json:"price_change_percentage_30d_in_currency"`
PriceChangePercentageWeekInCurrency float64 `json:"price_change_percentage_7d_in_currency"`
}
type StatusUpdates ¶
type StatusUpdates struct {
StatusUpdates []Status `json:"status_updates"`
}
Click to show internal directories.
Click to hide internal directories.