poppu-mtg / StackIt

Python script generating a column-shaped TCG decklist based on cropped captions of each card's art.
MIT License
14 stars 6 forks source link

Hex Support? #22

Closed silasary closed 7 years ago

silasary commented 7 years ago

As requested on twitter.

== Method 1: Scraping ==

At first glance, we have the following things:

What we're missing:

== Method 2: Sync API ==

This one is more complex, and requires the user to do a lot more setup.

I'll probably need to download the game before I can decide whether it actually lets us do what we need. (The documentation is really unclear)

silasary commented 7 years ago

Ok, so the Sync API is super weird. But it might be able to work for us. Assuming it gives us the names and costs.

poppu-mtg commented 7 years ago

Same here, I would have to get familiar with the game before deciding which way to go.

poppu-mtg commented 7 years ago

I think I found a way: I am creating a dictionary from the card name to the web address of its large picture. Took a bit of manipulation, but I have a gigantic html web page saved with the entire checklist in it.

silasary commented 7 years ago

That sounds horrifying.

poppu-mtg commented 7 years ago

it wasn't that bad, really - needed to learn a bit about the game too, to be sure to cover most of the options