Hearthstone

무료
분류별 omgvamp | 업데이트됨 a month ago | Entertainment
인기

9.7 / 10

지연 시간

2,280ms

서비스 수준

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!

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입