> 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
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
Nothing...does it use Flash or anything like that? I have quite a bit of stuff like that blocked...
Ahh, yes. Currently Flash is required for part of the site.
I really didn't want to require it, but the website uses HTML5's WebSocket feature to communicate with the server (for speed). Most browsers do not support it yet, so I use a flash object (and it's socket support) to 'emulate' WebSocket support.
Edit: I just played with the deck building for a few minutes, that is very cool. This may be a bit greedy of me, but if you could allow people to goldfish decks they made, I would probably think you had just made the perfect deck building site.
That's certainly something I would like to add. I kind of ran out of steam and didn't want to spend a lot of time creating something if nobody would find any value in it. It sounds though that you at least would probably use such a feature
PS - I created it because I felt Gatherer was a bit too slow and cumbersome to use, having to page through result after result. I wanted to create something more visual and faster while still being powerful.
If you magically knew every card played in every match and game of Magic, what statistics would you like to see?
For example:
- What cards were played the most?
- What colors won the most games?
- Which creatures hit the opponent the most number of times?
- Which creature is killed the quickest? (has shortest time on board, the most hated)
- Which card is played the most on the winning side of games?
- Which card most often causes the opponent to concede shortly after being played?
What other statistics or information would you find really interesting or valuable?
The reason I ask is because I'm the programmer behind http://worldofsolitaire.com and I was thinking about what my next project might be. I was thinking of maybe doing a multi-player CCG engine where users could create their own card sets, rule sets, etc. for different card collecting games (make up your own or maybe old ones that are out of print like Netrunner).
In order to make sure I create an engine that is capable of covering as many possible rules/card interactions as possible, I figured I would try implementing 10th edition or something while I "code it".
Since as you can see from my site I value a 'nice looking' site with nice big card images, I was hoping I could track down large enough frames and symbols and artwork. I could then generate the different card sizes the engine needs.
So I was wondering if high quality SVG or vector art exists for all the various MTG card parts. The mana symbols, other symbols, the frames themselves, etc.
I've seen lots and lots of posts with JPG's and PNG's of art, and even a TTF font of symbols, but haven't turned up much vector art.
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
Also added 'watermark' attribute to cards and a few other minor edits.
I have made the code available here: https://github.com/Sembiance/mtgjson
Enjoy
It does now
Sure! Glad some folks out there will find it useful
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
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
Fixed!
I just made a fix for IE to allow it to work again. As for Firefox, that should be working fine, make sure you have Flash installed.
I've added this feature. It's up on the site now.
I've also added two new expansion sets, Odyssey and Torment.
Ahh, yes. Currently Flash is required for part of the site.
I really didn't want to require it, but the website uses HTML5's WebSocket feature to communicate with the server (for speed). Most browsers do not support it yet, so I use a flash object (and it's socket support) to 'emulate' WebSocket support.
I've added it to my To-Do list.
That's certainly something I would like to add. I kind of ran out of steam and didn't want to spend a lot of time creating something if nobody would find any value in it. It sounds though that you at least would probably use such a feature
Thanks for the feedback!
It searches live, or at least it should.
If you type "kor" into the "Name:" field for example, it should update the results below right away with the matches.
Are you seeing any card images at all?
Double-post merged.
I've created a new MTG Card Search engine and thought I'd post a link to it here to get some feedback.
It's still a work in progress and doesn't have all the sets yet.
I'd love to hear what you all think about it.
You can find it here: http://visualmtg.com
PS - I created it because I felt Gatherer was a bit too slow and cumbersome to use, having to page through result after result. I wanted to create something more visual and faster while still being powerful.
For example:
- What cards were played the most?
- What colors won the most games?
- Which creatures hit the opponent the most number of times?
- Which creature is killed the quickest? (has shortest time on board, the most hated)
- Which card is played the most on the winning side of games?
- Which card most often causes the opponent to concede shortly after being played?
What other statistics or information would you find really interesting or valuable?
In order to make sure I create an engine that is capable of covering as many possible rules/card interactions as possible, I figured I would try implementing 10th edition or something while I "code it".
Since as you can see from my site I value a 'nice looking' site with nice big card images, I was hoping I could track down large enough frames and symbols and artwork. I could then generate the different card sizes the engine needs.
I've seen lots and lots of posts with JPG's and PNG's of art, and even a TTF font of symbols, but haven't turned up much vector art.