strikezone

package
v0.0.0-...-882b071 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: MIT Imports: 10 Imported by: 0

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)

Jump to

Keyboard shortcuts

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