Is there a source where I can pull the which sets belong to what blocks?
I'm writing an iPhone app and would like to be able to group sets by their block at some point.
Currently I'm sorting them by release.
Is there a source where I can pull the which sets belong to what blocks?
I'm writing an iPhone app and would like to be able to group sets by their block at some point.
Currently I'm sorting them by release.
thx
If you grab AllSets.json, each set object has a 'block' field (if it is part of a block). So you can use that to group sets by block. Let me know if that's not exactly what you were asking for
Is the updated legality data to show RTR and M14 rotating out live yet?
I did a quick spot check on "Abrupt Decay" and it no longer has Standard : Legal, so it looks like yes, legality data is up to date for the RTR/M14 sets too.
I did a quick spot check on "Abrupt Decay" and it no longer has Standard : Legal, so it looks like yes, legality data is up to date for the RTR/M14 sets too.
So it is! Sorry Sembiance, turns out they were showing up incorrectly in my software due to a bug at my end, rather than yours - mea culpa
Private Mod Note
():
Rollback Post to RevisionRollBack
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
I notice hat when I extract the data from your JSON file a lot of cards have a typeline or name that reads as, for example:
"Creature — Human Cleric""| __truncated__
I think this is something I've done but I want to make sure it isn't in the file and supposed to mean something.
I notice hat when I extract the data from your JSON file a lot of cards have a typeline or name that reads as, for example:
"Creature — Human Cleric""| __truncated__
I think this is something I've done but I want to make sure it isn't in the file and supposed to mean something.
None of the JSON files have the word truncated in them, and I haven't heard any other reports of this issue, so it sounds like it's on your side.
I did a quick spot check on "Abrupt Decay" and it no longer has Standard : Legal, so it looks like yes, legality data is up to date for the RTR/M14 sets too.
So it is! Sorry Sembiance, turns out they were showing up incorrectly in my software due to a bug at my end, rather than yours - mea culpa
Weirdness abounds here, and I'm not sure now whether I'm just misunderstanding what should be included in Standard...
I found that my deck builder was suddenly telling me my m15 decks were illegal, due to the cards not being supported in Standard, so I had a look at the underlying data - it turns out that only 30 of the cards (in M15-x.json) have "Standard" : "Legal" in their legality arrays. It looks like this is consistant with what's currently in Gatherer - I checked a couple of examples, and their listings also omit the cards I checked from Standard.
I thought that it was just M14 and RTR that had just rotated out... So, is this an actual bug in the data from Gatherer that's being included in the scrape, or am I just wrong in thinking that M15 should still be in Standard?
Private Mod Note
():
Rollback Post to RevisionRollBack
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
Weirdness abounds here, and I'm not sure now whether I'm just misunderstanding what should be included in Standard...
I found that my deck builder was suddenly telling me my m15 decks were illegal, due to the cards not being supported in Standard, so I had a look at the underlying data - it turns out that only 30 of the cards (in M15-x.json) have "Standard" : "Legal" in their legality arrays. It looks like this is consistant with what's currently in Gatherer - I checked a couple of examples, and their listings also omit the cards I checked from Standard.
I thought that it was just M14 and RTR that had just rotated out... So, is this an actual bug in the data from Gatherer that's being included in the scrape, or am I just wrong in thinking that M15 should still be in Standard?
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?
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?
Personally, I'm impressed that you are able to host a better solution to this problem than WotC's own Gatherer card search. That's definitely something to be proud of. I say if there's a way to make mtgjson/mtgimage better than Gatherer then I'm all for it.
[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.
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?
I've noticed that magiccards.info has the correct legality for "Act on Impulse" - could the method you use to import their promo card data be adapted to import legalities for other cards?
It may be calculable in some cases as well - the rules for what consitutes Standard / Modern etc are fairly well known. I'm sure the combined brains here can come up with some boolean-friendly statements to describe them
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.
The data structures exposed in the JSON aren't really the issue, though, so much as the underlying data being corrupt at the source. There may be advantages to have legality on sets in some cases, but having legalities on individual cards allows for easy tracking of things like individual cards from old sets becoming legal in other formats due to reprints. Not to mention the convenience of doing a direct check on a card to see if it's legal rather than having to burn cycles calculating it
Private Mod Note
():
Rollback Post to RevisionRollBack
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
Hey, so I was looking at how Gatherer handles multiple versions of a card within a set, and it seems when it displays the "variations" under the card, they are in the same order as the multiverseID, but this order is not the same order that the collector numbers are in for some reason. I see you re-order cards to be in collector number order, which is good, but with older cards that have no collector number, I see again you put them in an order different from the multiverseID. How did you decide this order? Is there some canonical order for these cards? I'm working on a database using your data and I'm trying to figure out the best way to differentiate variations of the same card within a pre-collector-number set.
Thanks! Fixed!
Added to the to-do list, but it's not very high priority.
That's actually pretty useful to know - thanks man
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
Great work on the mtgjson project, Robert.
Is there a source where I can pull the which sets belong to what blocks?
I'm writing an iPhone app and would like to be able to group sets by their block at some point.
Currently I'm sorting them by release.
thx
If you grab AllSets.json, each set object has a 'block' field (if it is part of a block). So you can use that to group sets by block. Let me know if that's not exactly what you were asking for
Thanks for the heads up. I've updated MTGJSON with this data.
Is the updated legality data to show RTR and M14 rotating out live yet?
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
I did a quick spot check on "Abrupt Decay" and it no longer has Standard : Legal, so it looks like yes, legality data is up to date for the RTR/M14 sets too.
So it is! Sorry Sembiance, turns out they were showing up incorrectly in my software due to a bug at my end, rather than yours - mea culpa
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
"Creature — Human Cleric""| __truncated__
I think this is something I've done but I want to make sure it isn't in the file and supposed to mean something.
None of the JSON files have the word truncated in them, and I haven't heard any other reports of this issue, so it sounds like it's on your side.
Weirdness abounds here, and I'm not sure now whether I'm just misunderstanding what should be included in Standard...
I found that my deck builder was suddenly telling me my m15 decks were illegal, due to the cards not being supported in Standard, so I had a look at the underlying data - it turns out that only 30 of the cards (in M15-x.json) have "Standard" : "Legal" in their legality arrays. It looks like this is consistant with what's currently in Gatherer - I checked a couple of examples, and their listings also omit the cards I checked from Standard.
I thought that it was just M14 and RTR that had just rotated out... So, is this an actual bug in the data from Gatherer that's being included in the scrape, or am I just wrong in thinking that M15 should still be in Standard?
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
I haven't played MTG in a while, but from my understanding, M15 should indeed be Standard legal right now. You are right that Gatherer doesn't show several M15 cards as being standard legal. For example 'Act on Impulse' (http://gatherer.wizards.com/Pages/Card/Printings.aspx?multiverseid=383176) and 'Accursed Spirit' (http://gatherer.wizards.com/Pages/Card/Printings.aspx?multiverseid=383175)
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?
Personally, I'm impressed that you are able to host a better solution to this problem than WotC's own Gatherer card search. That's definitely something to be proud of. I say if there's a way to make mtgjson/mtgimage better than Gatherer then I'm all for it.
Keep up the great work!
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.
I've noticed that magiccards.info has the correct legality for "Act on Impulse" - could the method you use to import their promo card data be adapted to import legalities for other cards?
It may be calculable in some cases as well - the rules for what consitutes Standard / Modern etc are fairly well known. I'm sure the combined brains here can come up with some boolean-friendly statements to describe them
The data structures exposed in the JSON aren't really the issue, though, so much as the underlying data being corrupt at the source. There may be advantages to have legality on sets in some cases, but having legalities on individual cards allows for easy tracking of things like individual cards from old sets becoming legal in other formats due to reprints. Not to mention the convenience of doing a direct check on a card to see if it's legal rather than having to burn cycles calculating it
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
Looks like Gatherer finally updated. I've updated MTGJSON with the latest legalities for all sets and cards.
Aha! Fantastic, thanks man
Minouris's Library - Collection manager and deck builder. It's nifty - Check it out!
"I bring word from Gaea. Fight on She will never allow her children to die alone."
Which unfortunately means there are probably others...
Fixed. It's wrong on both Gatherer and Magiccards.info, but it's correct now on mtgjson. Thanks for the heads up.