Documentation ¶
Overview ¶
Package evemarketer contains a client integration with the evemarketer.com API.
The EveMarketer API is largely compatible with the evecentral.com API. This package is based on the now-removed evecentral package in the MOTKI library.
Index ¶
Constants ¶
View Source
const ( StatBuy StatKind = "buy" StatSell = "sell" StatAll = "all" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EveMarketer ¶
type EveMarketer struct {
// contains filtered or unexported fields
}
EveMarketer is a client for retrieving market data from the eve-central.com API.
func (*EveMarketer) GetMarketStat ¶
func (api *EveMarketer) GetMarketStat(typeIDs ...int) ([]*MarketStat, error)
GetMarketStat gets market information for the given types.
func (*EveMarketer) GetMarketStatRegion ¶
func (api *EveMarketer) GetMarketStatRegion(regionID int, typeIDs ...int) ([]*MarketStat, error)
GetMarketStatRegion gets market information for the given region and types.
func (*EveMarketer) GetMarketStatSystem ¶
func (api *EveMarketer) GetMarketStatSystem(systemID int, typeIDs ...int) ([]*MarketStat, error)
GetMarketStatSystem gets market information for the given system and types.
type MarketStat ¶
type MarketStat struct { Kind StatKind TypeID int Volume int WAvg decimal.Decimal Avg decimal.Decimal Variance decimal.Decimal StdDev decimal.Decimal Median decimal.Decimal FivePercent decimal.Decimal Max decimal.Decimal Min decimal.Decimal Timestamp time.Time }
MarketStat is reported price information for the given type.
Click to show internal directories.
Click to hide internal directories.