Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Strikezone ¶
type Strikezone struct { LogCallback mtgban.LogCallbackFunc InventoryDate time.Time BuylistDate time.Time // contains filtered or unexported fields }
StrikezoneBuylist is the Scraper for the Strikezone Online vendor.
func NewScraper ¶
func NewScraper(db mtgjson.MTGDB) *Strikezone
NewBuylist initializes a Scraper for retriving buylist information, using the passed-in client to make http connections.
func (*Strikezone) Buylist ¶
func (sz *Strikezone) Buylist() (map[string]mtgban.BuylistEntry, error)
func (*Strikezone) Grading ¶
func (sz *Strikezone) Grading(entry mtgban.BuylistEntry) (grade map[string]float64)
func (*Strikezone) Info ¶
func (sz *Strikezone) Info() (info mtgban.ScraperInfo)
func (*Strikezone) Inventory ¶
func (sz *Strikezone) Inventory() (map[string][]mtgban.InventoryEntry, error)
Click to show internal directories.
Click to hide internal directories.