Closed bakert closed 6 years ago
This is wotc's visual view:
It's from mtgg:
This is one of the things I'm planning on doing as part of StackIt's featureset.
It might be worth just doing it there, and calling it as an external tool?
Using StackIt, even as-is, would be pretty sweet. But there's something up with the typography and mana symbols in those images. Is it because I have a retina display or do they look jagged/low-res to you too?
It's not the fonts bundled in the app (see screenshot) but something about the manipulation of them in StackIt.
I spent some time on StackIt today and improved the quality, especially if we export larger images and resize them in the browser. Will try and get that working without having to produce larger images.
Before:
After:
In particular the mana symbols look a lot less jagged.
So we can consider using this in some kind of "visual view". Or some expansion of it.
The "buy on Cardhoarder" link on mtggoldfish is actually pretty sweet and useful. You can post-hoc remove things you don't need like forests and alter numbers:
I'd want to avoid the suspicion that any money was changing hands, though, or making pdm look like a commercial enterprise so maybe not worth it for those reasons.
I messaged Cardhoarder about this and their affiliate program and expanding sponsorship to PDM!
Hmm ...
Maybe ...
It's kind of the same information as the main list so it should probably either replace it (bad?) or be a link/pop-up/clickthrough.
Hex TCGBrowser uses a badly signposted button.
Maybe just do something like this?
Cardhoarder agreed to sponsor all three tournaments so definitely going ahead with a buy on cardhoarder button.
Referring customers to our deck editor If you provide decklists on your website or application, we highly recommend using our deck editor integration. Most affiliates that send customers to our deck editor benefit from very high conversion rates and large orders.
When linking to our deck editor, there are three key pieces of information you will need to communicate for each item in the decklist:
id MTGO ID quantity Quantity is_sideboard Is it in the sideboard? This information should be bundled into a POST request, and sent to https://www.cardhoarder.com/decks/upload. Here is an example of how that request should be formatted:
<form method="POST" action="https://www.cardhoarder.com/decks/upload?affiliate_id=mtgtop8">
<input type="hidden" name="data[Deck][cards][0][id]" value="20920" />
<input type="hidden" name="data[Deck][cards][0][quantity]" value="10" />
<input type="hidden" name="data[Deck][cards][0][is_sideboard]" value="0" />
<input type="hidden" name="data[Deck][cards][1][id]" value="58796" />
<input type="hidden" name="data[Deck][cards][1][quantity]" value="15" />
<input type="hidden" name="data[Deck][cards][1][is_sideboard]" value="0" />
<input type="hidden" name="data[Deck][cards][2][id]" value="46737" />
<input type="hidden" name="data[Deck][cards][2][quantity]" value="2" />
<input type="hidden" name="data[Deck][cards][2][is_sideboard]" value="1" />
<button type="submit">Buy on Cardhoarder</button>
</form>
In this example, our deck is only three cards: 10x Relentless Rats, 15x Swamp, and a couple Pack Rats in the sideboard. For each of these items, we need to have the MTGO ID, which can be found in our price file.
Try it out!
Buy on Cardhoarder with auto-optimize Auto-Optimize Feature
Pass the "optimize" flag to automatically process your decklist and replace items with the cheapest, in-stock alternative. You can include it as follows:
Use Card Names (rather than IDs)
We also support a URL-only deck integration that uses card names rather than MTGO IDs. This feature is a little less robust, since it does not support sideboard or specific card versions, but it can be easier to setup. You just need to setup your deck URL as shown below, with the quantity and card name, and separating each item with a double-pipe, ||.
https://www.cardhoarder.com/decks/upload?affiliate_id=mtgtop8&deck=10 Relentless Rats||15 Swamp||2 Pack Rat Try it
Can you link me to the mentioned price file? Hopefully it won't be too hard to integrate CatIDs.
We left price file for "down the road". They've been pretty generous so I want to tread lightly :) I'll circle back about prices soon-ish?
Sounds good :)
"Buy on Cardhoarder" is 60cd7468.
Next challenge: how to declare StackIt as a dependency in requirements.txt.
Oh dear. I'm going to need to package StackIt up as a pip package, aren't I?
poppu-mtg/StackIt#65
PRs to poppu-mtg/StackIt https://github.com/poppu-mtg/StackIt/pull/76 followed by https://github.com/poppu-mtg/StackIt/pull/55 will get us in a place where we can use this for decklist image generation. Although the quality will still not be as good as it could be. I'll try and figure that out.
All other oustanding work here now logged in separate tickets as #2928, #2929 and #2930.
Possible features:
NamePilot/AuthorColorsLegalityCards by maindeck/sideboardSort cards by creature/noncreature then cmc in initial viewCards by typeLegality in other formatsChart of mana curve"Buy on Cardhoarder/MTGO Traders"Similar decksDeck typeArchetypeExport (MTGO, others)Source linkCompetition(s)FinishWins/lossesCreated date/updated dateOther decks from the same tournament