Hearthstone

FREE
By omgvamp | Updated 15 days ago | Entertainment
Popularity

9.7 / 10

Latency

2,225ms

Service Level

99%

Health Check

N/A

Back to All Discussions

Query a mana cost range

Rapid account: Barrydoyle 18
barrydoyle18
8 years ago

Hey,

Is there a way to query cards that range from a specific mana cost? Eg. I want to query all the collectible cards with 7 or more mana cost?

Rapid account: Barrydoyle 18
barrydoyle18 Commented 8 years ago

Yeah for now Iโ€™ve done a single request for cards of all cost and only display the 7+ cards. So itโ€™s a temporary fix. ๐Ÿ˜ƒ

Rapid account: Omgvamp
omgvamp Commented 8 years ago

You could do a loop in which you request cards which cost 7, 8, 9 etc. for now, but you canโ€™t do it in a single request.

Rapid account: Barrydoyle 18
barrydoyle18 Commented 8 years ago

Thanks for the response, I hope you implement it soon ๐Ÿ˜ƒ
I guess there isnโ€™t a way to query multiple cost cards either, like 7 and 8 etc. ?

Rapid account: Omgvamp
omgvamp Commented 8 years ago

You can filter for a certain mana cost with โ€˜?cost=7โ€™ for example, but you canโ€™t yet filter by range. Iโ€™ve added this to the list of things to implement. I got your message on hearthstoneapi.com btw!

Join in the discussion - add comment below:

Login / Signup to post new comments