Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardSphereClient ¶
type CardSphereClient struct {
// contains filtered or unexported fields
}
func NewCardSphereClient ¶
func NewCardSphereClient(email, password string) (*CardSphereClient, error)
func (*CardSphereClient) GetOfferListByMaxAbsolute ¶
func (cs *CardSphereClient) GetOfferListByMaxAbsolute(offset int) ([]CardSphereOfferList, error)
func (*CardSphereClient) GetOfferListByMaxRelative ¶
func (cs *CardSphereClient) GetOfferListByMaxRelative(offset int) ([]CardSphereOfferList, error)
type CardSphereOfferList ¶
type CardSphereOfferList struct { WantId int `json:"wantId"` MinOffer int `json:"minOffer"` MaxOffer int `json:"maxOffer"` MinIndex int `json:"minIndex"` MaxIndex int `json:"maxIndex"` MinEff int `json:"minEff"` MaxEff int `json:"maxEff"` MinRelEff float64 `json:"minRelEff"` MaxRelEff float64 `json:"maxRelEff"` MasterId int `json:"masterId"` Image string `json:"image"` UserId int `json:"userId"` UserDisplay string `json:"userDisplay"` Country string `json:"country"` CountryName string `json:"countryName"` Balance int `json:"balance"` CardName string `json:"cardName"` Kind string `json:"kind"` Sets []struct { Code string `json:"code"` Name string `json:"name"` Rarity string `json:"rarity"` } `json:"sets"` Languages []string `json:"languages"` Conditions []int `json:"conditions"` Finishes []string `json:"finishes"` Quantity int `json:"quantity"` }
type Cardsphere ¶ added in v0.4.21
type Cardsphere struct { LogCallback mtgban.LogCallbackFunc MaxConcurrency int // contains filtered or unexported fields }
func NewScraper ¶ added in v0.4.21
func NewScraper(email, password string) (*Cardsphere, error)
func (*Cardsphere) Buylist ¶ added in v0.4.21
func (cs *Cardsphere) Buylist() (mtgban.BuylistRecord, error)
func (*Cardsphere) Info ¶ added in v0.4.21
func (cs *Cardsphere) Info() (info mtgban.ScraperInfo)
Click to show internal directories.
Click to hide internal directories.