Very nice. One suggestion: add info for other printings of a card. Helps with cross-referencing or quick linking.
Thanks for the compliment and suggestion.
Yesterday evening I added to each card a 'printings' field that lists each set a card was printed in. You'll find this in the 'extras' version of the JSON
some examples on how to use it in the documentation would be a great help for anyone without coding/web developing experience.
It isn't a web service like Gatherer or magiccards.info so there isn't any sort of "use" by non-developers. You won't be using this site for looking up any sort of card info; instead, a developer would take the data generated by this site and incorporate it into his or her project which end users would then interact with.
Consider this more of a developer resource than an end user resource.
> It's all coded on Node.js. At first I did have it up on GitHub, but since it scrapes a third party site, I decided it might be irresponsible to release the code because I didn't want the site to get hammered. So I switched the GitHub repo to a private one. I dunno, maybe it's no big deal to release the scraping source? What do you think?
my reply:
tutor[1] has been up on github for over a year. i'd love to see your code, as tutor doesn't correctly handle split cards when scraping sets
> It's all coded on Node.js. At first I did have it up on GitHub, but since it scrapes a third party site, I decided it might be irresponsible to release the code because I didn't want the site to get hammered. So I switched the GitHub repo to a private one. I dunno, maybe it's no big deal to release the scraping source? What do you think?
my reply:
tutor[1] has been up on github for over a year. i'd love to see your code, as tutor doesn't correctly handle split cards when scraping sets
Your data has been very helpful. I'm writing a tool for organizing cubes(http://www.softwerks.com/mtg-cubed). I'd been scraping Gatherer myself, but this is far more convenient.
Any chance you can include the portal and commander sets in your next update? They seem to be missing.
Your data has been very helpful. I'm writing a tool for organizing cubes(http://www.softwerks.com/mtg-cubed). I'd been scraping Gatherer myself, but this is far more convenient.
Any chance you can include the portal and commander sets in your next update? They seem to be missing.
Thank you for providing all those JSON files! Out of curiosity when do you think you will you be adding the Planechase JSON to your site? Also may I ask what language you used to create the JSON files?
Thank you for providing all those JSON files! Out of curiosity when do you think you will you be adding the Planechase JSON to your site? Also may I ask what language you used to create the JSON files?
Hello
I just updated the website a few minutes ago.
I added the following sets:
Planechase
Planechase 2012
From the Vault: Twenty
Archenemy
I also fixed a releaseDate typo/bug for a set and updated the printings fields for all sets.
I used JavaScript/Node.js to create the JSON files.
I found a bug regarding split cards. For example, ["Far", "Away"] should have both unique numbers, "Far" being 127a and "Away" being 127b but both show as 127.
I found a bug regarding split cards. For example, ["Far", "Away"] should have both unique numbers, "Far" being 127a and "Away" being 127b but both show as 127.
I found a bug regarding split cards. For example, ["Far", "Away"] should have both unique numbers, "Far" being 127a and "Away" being 127b but both show as 127.
DFCs have the same multiverseid which is not correct. For example, Reckless Waif has a mid of 222111 while Merciless Predator has a mid of 222115. I have not checked every DFC but for the ones I have, it seems both sides have the mid of the "sunny" side.
DFCs have the same multiverseid which is not correct. For example, Reckless Waif has a mid of 222111 while Merciless Predator has a mid of 222115. I have not checked every DFC but for the ones I have, it seems both sides have the mid of the "sunny" side.
Thanks for the heads up! I'm currently on vacation, away from my coding workstation, but once I get back home I will get these fixed! Once I fix them and have updated the site, I'll reply here.
Ok, just pushed an update to the site. It fixes the issue Nis brought up with the multiverseid's and double faced cards. The update also fixes some other minor issues. For details, see the change log on the site.
Wanted to share with everyone a new website I just launched yesterday.
It provides all MTG card data for developers in easy to use JSON format.
The website is: http://mtgjson.com
Working on an update that will add some new sets including Modern Masters, I expect that to go live later today.
Let me know if you discover any problems or have any feedback/suggestions
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
Check out Odds//Ends - My articles on Quirky Cards and Oddball Builds
Long-time PucaTrade member and sometime author. Send me cards!
Currently playing Knight of the Reliquary - Retreat to Coralhelm Combo
Thanks for the compliment and suggestion.
Yesterday evening I added to each card a 'printings' field that lists each set a card was printed in. You'll find this in the 'extras' version of the JSON
It isn't a web service like Gatherer or magiccards.info so there isn't any sort of "use" by non-developers. You won't be using this site for looking up any sort of card info; instead, a developer would take the data generated by this site and incorporate it into his or her project which end users would then interact with.
Consider this more of a developer resource than an end user resource.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
Sure! Glad some folks out there will find it useful
It does now
edit: to be clear, i mean the software you used to create the json, not the json itself, which you are releasing as public domain
edit2: ah, i see you touched on this over at reddit:
http://www.reddit.com/r/magicTCG/comments/1ghmdx/mtg_json_new_website_provides_mtg_card_data_in/caknlxt
> It's all coded on Node.js. At first I did have it up on GitHub, but since it scrapes a third party site, I decided it might be irresponsible to release the code because I didn't want the site to get hammered. So I switched the GitHub repo to a private one. I dunno, maybe it's no big deal to release the scraping source? What do you think?
my reply:
tutor[1] has been up on github for over a year. i'd love to see your code, as tutor doesn't correctly handle split cards when scraping sets
[1]: https://github.com/davidchambers/tutor
I have made the code available here: https://github.com/Sembiance/mtgjson
Enjoy
Also added 'watermark' attribute to cards and a few other minor edits.
Yah, I try to be as accurate as possible.
I visually compare most card images to the scraped JSON to make sure they are correct. Whenever I see a gatherer error, I correct it
Any chance you can include the portal and commander sets in your next update? They seem to be missing.
Glad you find it useful!
I've just added the following sets:
Let me know if you need anything else
Hello
I just updated the website a few minutes ago.
I added the following sets:
I also fixed a releaseDate typo/bug for a set and updated the printings fields for all sets.
I used JavaScript/Node.js to create the JSON files.
http://gatherer.wizards.com/pages/Card/Details.aspx?multiverseid=369042
On the Wizards site it's 127a and 127b.
Thanks for the bug report. I am currently on vacation, but will get this fixed just as soon as I get back home to my development computer.
Fixed!
Version 1.6 is now uploaded.
Thank you very much for letting me know about the bug. Split cards now correctly have "a" and "b" suffixes.
I also fixed another bug in DDG and added Duel Decks: Heroes vs. Monsters.
[card=Jace Beleren]Jace[/card] = Jace
Magic CompRules
Scry Rollover Popups for Google Chrome
The first rule of Cursecatcher is, You do not talk about Cursecatcher.
Thanks for the heads up! I'm currently on vacation, away from my coding workstation, but once I get back home I will get these fixed! Once I fix them and have updated the site, I'll reply here.
Thanks again
Thanks again Nis for reporting the bug