Hearthstone

БЕСПЛАТНО
От omgvamp | Обновлено a month ago | Entertainment
Популярность

9.7 / 10

Задержка

2,203ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

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!

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии