For the complete documentation index, see llms.txt. This page is also available as Markdown.

๐ŸŽฎFortniteShop

Classes

FortniteShop

Functions

setToken(value) โ‡’ FortniteShop

Set the Fortnite API token

setText(value) โ‡’ FortniteShop

Set the text for the Fortnite Shop card

build([font]) โ‡’ Promise.<Buffer>

Build the Fortnite Shop card

FortniteShop

Kind: global class

new FortniteShop()

Fortnite Shop card creator

PREVIEW

Fortnite Shop Card Preview

To obtain a Fortnite API token, visit fortnite-api.com

Example

setToken(value) โ‡’ FortniteShop

Set the Fortnite API token

Kind: global function Returns: FortniteShop - The current instance of FortniteShop Throws:

  • APIError If the value is not a string

Param
Type
Description

value

string

Fortnite API token

setText(value) โ‡’ FortniteShop

Set the text for the Fortnite Shop card

Kind: global function Returns: FortniteShop - The current instance of FortniteShop Throws:

  • APIError If the value is not a string

Param
Type
Description

value

string

Text to set for the card

build([font]) โ‡’ 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

Param
Type
Default
Description

[font]

string

"&quot;Arial&quot;"

Font to use for the card

Last updated