Hearthstone API deckcode: Card copies in deck

Hello there,

is there a way to determine how often a card is present in the deck using the deckstring endpoint? I noticed that single cards are returned at beginning of the card list but this is still ambiguous.

Best regards,
Stefan

Not sure if you’re still looking for this but in order to do get the number of times a card appears in deck you essentially need to reverse engineer how the deck code is created.

It won’t let me include links but if you Google Hearthsim deckstrings it will explain how the decks are encoded. I recreated the process in a Java project I worked on to test the Blizzard API.

I haven’t tried to reverse the process but it should be relatively straightforward to doing the opposite of the encoding.

Cheers!