Magic-Spoiler icon indicating copy to clipboard operation
Magic-Spoiler copied to clipboard

idea: include spoiled card count in xml

Open tooomm opened this issue 6 years ago • 0 comments

To somehow track the progress of ongoing spoilers there could be a 101/269 cards hint somewhere in the xml file. The currently available number of cards is there in the Scryfall API, and the absolute number should be available in mtgjson, which we load already as well.

Sadly, the API has no information about the maximum/complete card count of a set - only currently included cards (card_count), which is a growing number during spoiler season and you never know when it is complete. For printed sets there is information about printed_size which is the base card count of the set without art, full frame and other special variants. I need to check if the number is available right from start or incrementing as well.

Example: https://api.scryfall.com/sets/m21 (digital=false) vs. https://api.scryfall.com/sets/j21 (digital=true)

Docs: https://scryfall.com/docs/api/sets

tooomm avatar May 31 '18 08:05 tooomm