SortOrder

object SortOrder

Sort order options for card search.

Usage:

import { SortOrder } from '@devmugi/scryfall-api';
api.search("lightning bolt", { order: SortOrder.CMC });

Properties

Link copied to clipboard
const val ARTIST: String

Sort cards by the artist credit

Link copied to clipboard
const val CMC: String

Sort cards by mana value (converted mana cost)

Link copied to clipboard
const val COLOR: String

Sort cards by color and color identity

Link copied to clipboard
const val EDHREC: String

Sort by EDHREC ranking/popularity

Link copied to clipboard
const val EUR: String

Sort cards by their EUR price

Link copied to clipboard
const val NAME: String

Sort cards by name, A → Z

Link copied to clipboard
const val PENNY: String

Sort by Penny Dreadful deck usage

Link copied to clipboard
const val POWER: String

Sort cards by power

Link copied to clipboard
const val RARITY: String

Sort cards by rarity (Common → Mythic)

Link copied to clipboard
const val RELEASED: String

Sort cards by their release date: Newest → Oldest

Link copied to clipboard
const val REVIEW: String

Sort by Scryfall review score

Link copied to clipboard
const val SET: String

Sort cards by their set and collector number

Link copied to clipboard
const val TIX: String

Sort cards by their Magic Online (tix) price

Link copied to clipboard
const val TOUGHNESS: String

Sort cards by toughness

Link copied to clipboard
const val USD: String

Sort cards by their USD price