CatalogsApi

class CatalogsApi(config: ScryfallConfig = ScryfallConfig(), engine: HttpClientEngine? = null, logger: (String) -> Unit? = null) : ScryfallBaseApi

Catalogs are small curated lists of Magic data such as creature types and card names. https://scryfall.com/docs/api/catalogs

Constructors

Link copied to clipboard
constructor(config: ScryfallConfig = ScryfallConfig(), engine: HttpClientEngine? = null, logger: (String) -> Unit? = null)

Functions

Link copied to clipboard
suspend fun abilityWords(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all ability words on cards. https://scryfall.com/docs/api/catalogs/ability-words

Link copied to clipboard
suspend fun artifactTypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all artifact types. https://scryfall.com/docs/api/catalogs/artifact-types

Link copied to clipboard
suspend fun artistNames(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all artist names on Scryfall. https://scryfall.com/docs/api/catalogs/artist-names

Link copied to clipboard
suspend fun battleTypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all battle types. https://scryfall.com/docs/api/catalogs/battle-types

Link copied to clipboard
suspend fun cardNames(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all English card names on Scryfall. https://scryfall.com/docs/api/catalogs/card-names

Link copied to clipboard
suspend fun cardTypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all card types in the game. https://scryfall.com/docs/api/catalogs/card-types

Link copied to clipboard
suspend fun creatureTypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all creature supertypes and subtypes. https://scryfall.com/docs/api/catalogs/creature-types

Link copied to clipboard
suspend fun enchantmentTypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all enchantment types. https://scryfall.com/docs/api/catalogs/enchantment-types

Link copied to clipboard
suspend fun flavorWords(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all flavor words on cards. https://scryfall.com/docs/api/catalogs/flavor-words

Link copied to clipboard
suspend fun keywordAbilities(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all keyword abilities on cards. https://scryfall.com/docs/api/catalogs/keyword-abilities

Link copied to clipboard
suspend fun keywordActions(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all keyword actions on cards. https://scryfall.com/docs/api/catalogs/keyword-actions

Link copied to clipboard
suspend fun landTypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all land supertypes and subtypes. https://scryfall.com/docs/api/catalogs/land-types

Link copied to clipboard
suspend fun loyalties(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all possible loyalty values in the game. https://scryfall.com/docs/api/catalogs/loyalties

Link copied to clipboard
suspend fun planeswalkerTypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all Planeswalker types. https://scryfall.com/docs/api/catalogs/planeswalker-types

Link copied to clipboard
suspend fun powers(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all possible power values in the game. https://scryfall.com/docs/api/catalogs/powers

Link copied to clipboard
suspend fun spellTypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all spell types (instant and sorcery types). https://scryfall.com/docs/api/catalogs/spell-types

Link copied to clipboard
suspend fun supertypes(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all supertypes in the game. https://scryfall.com/docs/api/catalogs/supertypes

Link copied to clipboard
suspend fun toughnesses(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all possible toughness values in the game. https://scryfall.com/docs/api/catalogs/toughnesses

Link copied to clipboard
suspend fun watermarks(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all watermarks used on cards. https://scryfall.com/docs/api/catalogs/watermarks

Link copied to clipboard
suspend fun wordBank(format: String? = "json", pretty: Boolean? = false): Catalog

Returns a Catalog of all English words, of length 2 or more, that could appear in a card name. https://scryfall.com/docs/api/catalogs/word-bank