Page 1 of 1

List of mtg cards

PostPosted: 28 May 2010, 13:13
by nantuko84
Hi,

Does anybody know is it possible to get list of all mtg cards in the following format:
| card name | set | rarity | multiverseid | collectorid |

or any idea how to generate such one?

I know that there is mtg-data.txt that almost meets the requirement, but there is no multiverseid and collectorid there.

thank you in advance

~regards

Re: List of mtg cards

PostPosted: 28 May 2010, 15:20
by Snacko
I was hoping you could get it from
Code: Select all
http://gatherer.wizards.com/Pages/Search/Default.aspx?output=checklist&action=advanced&special=true&rarity=|[R]|[U]|[C]|[L]|[S]|[P]|[M]
,however the multiverseid is always for the newest edition. This means you have to go and spider either each card page to get the correct multiverseids for the given set.

Or you can get it set by set using the same checklist.

Re: List of mtg cards

PostPosted: 28 May 2010, 15:34
by nantuko84
you're right, but it's almost what I need.
so probably going to every card page using provided link and parsing Other Sets section is the only way to get these multiverseids.
at least it seems possible and not so extra difficult.

thanks for the idea!

Re: List of mtg cards

PostPosted: 28 May 2010, 15:59
by Snacko
You also can go set by set (that's how I do it). Then you get the correct multiverse ids, however you need to get the gatherer set names before.


Here's what you can get out of the all sets listing
http://www.mediafire.com/file/g2m1murdy ... r-data.zip (as previously said multiverse are duplicate for the same card - yet another gatherer bug)

Re: List of mtg cards

PostPosted: 31 May 2010, 16:00
by nantuko84
Our team finished with the perl script that gets all data needed for the card name.

Just wanted to thank you for the link you provided and the idea =)