cloudscraper

package module
v0.2.1 Latest Latest
Warning

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

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

README

cloudscraper

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

This project compares:

Scryfall Sets vs Deckbox Sets.

Known issues:

  • Both Set data potentially have the wrong number of cards in the set.
  • There are some matchings that don't have an 'easy' match from Deckbox to Scryfall

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDictionary

func GetDictionary() (LookupDictionary, DidNotFindMatch map[string]SetDetail, err error)

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