Comments (4)
Well, the printingCodes and printings fields specifically help you find other printings in other sets. They don't convey information about those cards in those sets, just give you the info to go find that info in the appropriate set.
While I could add the information you mention as arrays to cards, it would be a lot of duplication of data and would only be a 'convenience' factor. I try and not include additional data fields for convenience purposes as much as I can help it. In fact I wouldn't even have both 'printings' and 'printingCodes' if I could do things over again, I would just have 'printings' but have it be codes rather than set names. But I didn't do it that way from the beginning and wanted to maintain backwards compatibility.
I feel like in situations like this, where you would like to see the data formatted a certain way, you could just run the JSON files you download through a 'preprocessing' script that changes them into the format you are looking for before consuming them.
Hope this all makes sense.
from mtgjson3.
I understand what you're saying completely, but the way the code is currently written it seems as if you could theoretically use the printings
array as a "guide" to the number field. I do agree that it is really a convenience factor, but the way Oracle works we can only get one file at a time currently, and it wouldn't make much sense to have people download each and every file from your site.
This is for Cockatrice, and users probably don't want to be downloading tons of files when they could just download one (AllSets.json), if possible. I've recently been working on a feature for people to auto-link cards to any location they choose, and having the card number from the specific set I feel is an important addition.
I'd appreciate it if you'd potentially add this convenience array into your product, but it is your choice and I respect any decision you choose to make.
from mtgjson3.
I've decided that this is something the consumers of the data can take care of on their side. They have all the data in their hands.
from mtgjson3.
Fair enough, thanks for your response
from mtgjson3.
Related Issues (20)
- layout and names incorrect for Zndrsplt, Eye of Wisdom and Okaun, Eye of Chaos HOT 2
- Arena promos (pARL) release dates are wrong HOT 1
- Host is supertype, not type HOT 1
- Un-card legalities are inconsistent HOT 1
- Inconsistent use of setcode "ALL" HOT 2
- Same card, different mana cost HOT 2
- Color indicator is missing HOT 1
- Cards missing from pHHO and ARC HOT 2
- Fate Reforged Clash Pack Typo HOT 1
- B.F.M. (Big Furry Monster, Right Side) has duplicate entry in AllSets.json HOT 1
- Overgrown Tomb and Temple Garden missing cipt HOT 4
- Zndrsplt & Okaun layout set to "flip" HOT 1
- Please use ASCII subtract for loyalty costs HOT 2
- Some Battlebond partner cards have layout 'Flip' HOT 2
- Create version.json file for MTGJSONv4 HOT 1
- Teferi, Hero of Dominaria out of date HOT 1
- "aftermath" card layout type is gone, now "split" type HOT 5
- GRN guild kits HOT 1
- Righteous Blow's Printings Missing GRN HOT 4
- Bloated file size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtgjson3.