It is currently 27 Apr 2024, 22:29
   
Text Size

List of mtg cards

Anything that doesn't belong elsewhere goes here...

Moderator: CCGHQ Admins

List of mtg cards

Postby nantuko84 » 28 May 2010, 13:13

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
nantuko84
DEVELOPER
 
Posts: 266
Joined: 08 Feb 2009, 21:14
Has thanked: 2 times
Been thanked: 9 times

Re: List of mtg cards

Postby Snacko » 28 May 2010, 15:20

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.
Last edited by Snacko on 28 May 2010, 15:57, edited 1 time in total.
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: List of mtg cards

Postby nantuko84 » 28 May 2010, 15:34

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!
nantuko84
DEVELOPER
 
Posts: 266
Joined: 08 Feb 2009, 21:14
Has thanked: 2 times
Been thanked: 9 times

Re: List of mtg cards

Postby Snacko » 28 May 2010, 15:59

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)
Snacko
DEVELOPER
 
Posts: 826
Joined: 29 May 2008, 19:35
Has thanked: 4 times
Been thanked: 74 times

Re: List of mtg cards

Postby nantuko84 » 31 May 2010, 16:00

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 =)
nantuko84
DEVELOPER
 
Posts: 266
Joined: 08 Feb 2009, 21:14
Has thanked: 2 times
Been thanked: 9 times


Return to Off Topic Discussion

Who is online

Users browsing this forum: No registered users and 22 guests


Who is online

In total there are 22 users online :: 0 registered, 0 hidden and 22 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 22 guests

Login Form