Freezard / hs-collection-tracker

Tracks your Hearthstone card collection.
https://hs-collection-tracker.glitch.me/
17 stars 6 forks source link

Import collections from HearthPwn #57

Closed Freezard closed 8 years ago

Freezard commented 8 years ago

HearthPwn seems to be the best place to import collections from right now, as it's used by a lot of people and Innkeeper is the only way to import decks straight from the game that I know of. You could gather all data if a user makes their collection public, but not sure how well HTML parsers/regex is supported in JavaScript.

Leonix commented 8 years ago

HearthPwn saves cards collection to localStorage.HearthCollection. Should be able to fetch it with a simple bookmarklet, copy, and then import into tracker.

Freezard commented 8 years ago

It seems only normal cards are stored there, not golden. But might be better than nothing.

Freezard commented 8 years ago

I was just going to add this, but then I noticed that HearthCollection doesn't separate normal and golden cards, it just says count: x. So unfortunately it's not possible to use to import.