Description Usage Arguments Value Examples
This function shows the data frame with all the cards with your choice of classifications. For various search terms for each classification,
you can use hsmeta function in hstone package.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
id |
A client Id you obtained from Blizzard api. |
secret |
A client Secret you obtained from Blizzard api. |
class |
Class classification you want to obtain. You must enter the slug of the class that can be obtained using hsmeta function. |
manaCost |
Mana Cost value classification you want to obtain. |
attack |
Attack value classification you want to obtain. |
health |
Health value classification you want to obtain. |
rarity |
Rarity classification you want to obtain. You must enter the slug of the class that can be obtained using hsmeta function. |
type |
Type classification you want to obtain. You must enter the slug of the class that can be obtained using hsmeta function. |
minionType |
Minion type classification you want to obtain. You must enter the slug of the class that can be obtained using hsmeta function. |
textFilter |
Text classfication you want to obtain. |
orderBy |
Order by either health, attack, or mana cost of the cards you searched. |
A data frame with cards based on your selected choice for each classifications.
1 2 3 | hscard(id = Sys.getenv("id"), secret = Sys.getenv("secret"), class = "mage", manaCost = 5, attack = 5, orderBy = "health")
hscard(id = Sys.getenv("id"), secret = Sys.getenv("secret"), rarity = "legendary", type = "spell", orderBy = "manaCost")
hscard(id = Sys.getenv("id"), secret = Sys.getenv("secret"), minionType = "murloc", textFilter = "Battlecry")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.