Documentation / @blizzard-api/hs / fetchOneCard
Function: fetchOneCard()
fetchOneCard(
id,options?):object
Defined in: hs/src/cards/index.ts:81
Returns a single card based on the ID provided.
Parameters
id
string
The card ID
options?
The options for fetching a card.
gameMode?
The game mode to use for fetching the card (optional).
locale?
The locale to use for fetching the card (optional).
Returns
The card resource. See FetchOneCardResponse.
_responseType?
optional_responseType?:FetchOneCardResponse
Internal
The response type of the resource
namespace?
optionalnamespace?:BlizzardNamespaces
parameters?
optionalparameters?:object
parameters.gameMode?
optionalgameMode?:GameMode
parameters.locale?
optionallocale?:Locales
path
path:
string
The request path. Dynamic path segments should be encoded with encodeURIComponent.