cloudscraper

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: GPL-3.0 Imports: 6 Imported by: 2

README

cloudscraper

Systematically find differences between Scryfall and Deckbox sets (Krosan Cloudscraper - TSB)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDictionary

func GetDictionary() (LookupDictionary map[string]SetDetail)

GetDictionary to transform sets between Deckbox and Scryfall

Types

type SetDetail

type SetDetail struct {
	Set                     string    // e.g. Kaldheim
	SetCode                 string    // e.g. KHM
	CardsInSet              string    // e.g. 405
	ReleaseDate             time.Time // e.g. 2021-02-05 (YYYY-MM-DD) || Jan 2021 (Month Year) || 30 Jan (Day Month (implied current year))
	CollectorNumberMismatch bool
}

SetDetail holds details about the set

func GetDeckboxSetDetails

func GetDeckboxSetDetails() (setDetails []SetDetail, err error)

GetDeckboxSetDetails from deckbox because they have a slightly different naming schema compared to scryfall

func GetScryfallSetDetails

func GetScryfallSetDetails() (setDetails []SetDetail, err error)

GetScryfallSetDetails gets scryfall set details

Jump to

Keyboard shortcuts

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