CatalogsApiJs

class CatalogsApiJs(config: ScryfallConfig = ScryfallConfig())

JavaScript-friendly wrapper for CatalogsApi.

Usage:

const api = new CatalogsApiJs();
const cardNames = await api.cardNames();
const creatureTypes = await api.creatureTypes();

Constructors

Link copied to clipboard
constructor(config: ScryfallConfig = ScryfallConfig())

Functions

Link copied to clipboard

Returns all ability words on cards.

Link copied to clipboard

Returns all artifact types.

Link copied to clipboard

Returns all artist names on Scryfall.

Link copied to clipboard

Returns all battle types.

Link copied to clipboard

Returns all English card names on Scryfall.

Link copied to clipboard

Returns all card types in the game.

Link copied to clipboard

Returns all creature supertypes and subtypes.

Link copied to clipboard

Returns all enchantment types.

Link copied to clipboard

Returns all flavor words on cards.

Link copied to clipboard

Returns all keyword abilities on cards.

Link copied to clipboard

Returns all keyword actions on cards.

Link copied to clipboard

Returns all land supertypes and subtypes.

Link copied to clipboard

Returns all possible loyalty values in the game.

Link copied to clipboard

Returns all Planeswalker types.

Link copied to clipboard

Returns all possible power values in the game.

Link copied to clipboard

Returns all spell types (instant and sorcery types).

Link copied to clipboard

Returns all supertypes in the game.

Link copied to clipboard

Returns all possible toughness values in the game.

Link copied to clipboard

Returns all watermarks used on cards.

Link copied to clipboard

Returns all English words that could appear in a card name.