2019 Holiday Exchange!
 
A New and Exciting Beginning
 
The End of an Era
  • posted a message on MTG JSON - New website provides MTG card data in JSON format
    Quote from Sembiance »
    [quote
    If we are correct, that all M15 cards should be Standard legal right now, then Gatherer is pretty HORRIBLE at keeping their legalities up to date. If I can get some confirmation that this is the case, I'll probably change the 'Standard' legality to be something that MTGJSON ensures is correct on the cards rather than trusting what gatherer has to say. Anyone have any thoughts on the matter?

    You could keep track of the legality of sets themselves in an object, then when parsing you could check to see if a card has a printing in those sets. The list of bans and restrictions is actually pretty small, so you could just track them in their own object somewhere and check that when parsing as well.
    Posted in: Third Party Products
  • To post a comment, please or register a new account.