PDHdata / SmallFormats

Deck-stats server for less-common Magic: the Gathering formats
MIT License
6 stars 0 forks source link

When we don't have a printing, consider calling Scryfall #36

Closed vtbassmatt closed 1 year ago

vtbassmatt commented 1 year ago

We can fill in card-by-card without hitting the API too hard.

vtbassmatt commented 1 year ago

Actually, I looked into this, and it seems there are places where Moxfield uses a different UUID than Scryfall for some printings. They seem to be STA (Strixhaven Mystical Archives) but I haven't gone any deeper than that.

vtbassmatt commented 1 year ago

After talking with John from Moxfield, there are occasional gaps in Scryfall's data, or places where they get out of sync.

I think I can fall back to looking up the card by name/set_code.

vtbassmatt commented 1 year ago

Next deploy contains a fallback "look up by name and edition".

vtbassmatt commented 1 year ago

Note that if a printing itself is missing from Scryfall data (see "Charge Through" set:j21), this will still miss. But the STA cards which seem to have different IDs on Moxfield will be covered.