FortniteShop
Last updated
Last updated
⇒
Set the Fortnite API token
⇒
Set the text for the Fortnite Shop card
⇒ Promise.<Buffer>
Build the Fortnite Shop card
Kind: global class
Fortnite Shop card creator
Example
Set the Fortnite API token
APIError
If the value is not a string
value
string
Fortnite API token
Set the text for the Fortnite Shop card
APIError
If the value is not a string
value
string
Text to set for the card
Promise.<Buffer>
Build the Fortnite Shop card
Kind: global function
Returns: Promise.<Buffer>
- Card image in buffer format
Throws:
APIError
If the token is not provided
[font]
string
""Arial""
Font to use for the card
To obtain a Fortnite API token, visit
Kind: global function Returns: - The current instance of FortniteShop Throws:
Kind: global function Returns: - The current instance of FortniteShop Throws: