MCPcopy Create free account

hub / github.com/ChiriVulpes/scryfall-sdk / functions

Functions153 in github.com/ChiriVulpes/scryfall-sdk

↓ 45 callersMethodbyId
(id: string)
src/api/Sets.ts:100
↓ 18 callersMethodwaitForAll
()
src/util/MagicEmitter.ts:74
↓ 15 callersMethodon
(eventName: string | symbol, listener: Listener)
src/util/EventEmitter.ts:42
↓ 12 callersMethodbyName
(name: string, fuzzy?: boolean)
src/api/Sets.ts:113
↓ 12 callersMethodsearch
(query: string, options?: SetSearchOptions)
src/api/Sets.ts:72
↓ 10 callersMethodcollection
(...identifiers: CardIdentifier[])
src/api/Cards.ts:740
↓ 9 callersMethodqueryCard
(apiPath: TOrArrayOfT<string | number | undefined>, query?: { [key: string]: any }, post?: any)
src/api/Cards.ts:749
↓ 8 callersMethodall
()
src/api/Sets.ts:89
↓ 8 callersMethodemit
(eventName: string | symbol, ...args: any[])
src/util/EventEmitter.ts:76
↓ 8 callersMethodmap
(mapper: (value: T) => T2)
src/util/MagicEmitter.ts:97
↓ 7 callersMethodon
(event: string, listener: (...args: any[]) => any)
src/util/MagicEmitter.ts:37
↓ 6 callersMethodgetImageURI
(version: keyof ImageUris)
src/api/Cards.ts:222
↓ 5 callersMethodbyMultiverseId
(id: number)
src/api/Cards.ts:685
↓ 5 callersMethodbySet
(setCode: string | Set, collectorNumber: string | number, lang?: string)
src/api/Cards.ts:678
↓ 5 callersMethodisIllegal
* @returns `true` if this card is `not_legal` or `banned` in the given format.
src/api/Cards.ts:601
↓ 5 callersMethodisLegal
* @returns `true` if this card is `legal` or `restricted` in the given format.
src/api/Cards.ts:594
↓ 4 callersMethodcancelAfterPage
()
src/util/MagicEmitter.ts:69
↓ 4 callersMethodgetCost
()
src/api/Cards.ts:221
↓ 4 callersMethodgetText
()
src/api/Cards.ts:220
↓ 4 callersMethodsetSymbologyTransformer
(transformer?: string | SymbologyTransformer)
src/api/Cards.ts:650
↓ 3 callersMethodbyCode
(code: string)
src/api/Sets.ts:95
↓ 3 callersMethodbyId
(id: string)
src/api/Cards.ts:673
↓ 3 callersMethodbyMtgoId
(id: number)
src/api/Cards.ts:690
↓ 3 callersMethodcancel
()
src/util/MagicEmitter.ts:63
↓ 3 callersMethoddefinition
(idOrType: string)
src/api/BulkData.ts:109
↓ 3 callersFunctiondeleteCacheValue
(cache: ICache)
src/util/Cached.ts:67
↓ 3 callersMethodemit
(event: string, ...data: any[])
src/util/MagicEmitter.ts:48
↓ 3 callersMethodgenerate
(event: string)
src/util/MagicEmitter.ts:104
↓ 3 callersMethodget
()
src/api/Cards.ts:214
↓ 3 callersFunctionhandleCacheGarbageCollection
(reset: boolean)
src/util/Cached.ts:74
↓ 3 callersMethodquery
(apiPath: TOrArrayOfT<string | number | undefined>, query?: { [key: string]: any }, post?: any)
src/util/MagicQuerier.ts:70
↓ 3 callersMethodquerySet
(apiPath: TOrArrayOfT<string | number | undefined>, query?: { [key: string]: any }, post?: any)
src/api/Sets.ts:132
↓ 3 callersMethodremoveListener
(eventName: string | symbol, listener: Listener)
src/util/EventEmitter.ts:27
↓ 2 callersMethodaddListener
(eventName: string | symbol, listener: Listener)
src/util/EventEmitter.ts:11
↓ 2 callersMethodbyArenaId
(id: number)
src/api/Cards.ts:695
↓ 2 callersMethodbyTcgPlayerId
(id: number)
src/api/Sets.ts:105
↓ 2 callersMethoddefinitionById
(id: string)
src/api/BulkData.ts:72
↓ 2 callersMethoddefinitionByType
(type: BulkDataType)
src/api/BulkData.ts:67
↓ 2 callersMethoddownload
(idOrType: string, lastDownload: string | number | Date)
src/api/BulkData.ts:80
↓ 2 callersMethoddownloadById
* Returns a stream for the given bulk data if it has been updated since the last download time. If it hasn't, returns `undefined` * @param lastDownl
src/api/BulkData.ts:53
↓ 2 callersMethoddownloadByType
* Returns a stream for the given bulk data if it has been updated since the last download time. If it hasn't, returns `undefined` * @param lastDownl
src/api/BulkData.ts:44
↓ 2 callersMethodemitAll
(event: string, ...data: any[])
src/util/MagicEmitter.ts:56
↓ 2 callersMethodgetBackImageURI
(version: keyof ImageUris)
src/api/Cards.ts:637
↓ 2 callersMethodgetFrontImageURI
(version: keyof ImageUris)
src/api/Cards.ts:632
↓ 2 callersMethodgetPrints
()
src/api/Cards.ts:571
↓ 2 callersFunctionhandleTscOut
(startTime: number, data: string | Buffer, prefix?: string)
gulpfile.ts:122
↓ 2 callersMethodqueryPage
(emitter: MagicEmitter<T>, apiPath: string, query: any, page = query?.page as number | undefined ?? 1)
src/util/MagicQuerier.ts:92
↓ 2 callersMethodrandom
(query?: string)
src/api/Cards.ts:709
↓ 2 callersFunctionsetTimeout
(timeout: number)
src/Scry.ts:47
↓ 2 callersFunctionsleep
(ms = 0)
src/util/MagicQuerier.ts:20
↓ 2 callersFunctiontransform
(self: Card, key: keyof { [KEY in keyof Card as Card[KEY] extends string | null | undefined ? KEY : never]: a
src/api/Cards.ts:426
↓ 2 callersFunctionvalidatePrints
()
src/tests/Main.ts:362
↓ 1 callersMethodabilityWords
()
src/api/Catalog.ts:81
↓ 1 callersMethodartifactTypes
()
src/api/Catalog.ts:36
↓ 1 callersMethodartistNames
()
src/api/Catalog.ts:11
↓ 1 callersMethodautoCompleteName
(name: string)
src/api/Cards.ts:736
↓ 1 callersMethodbyCardmarketId
(id: number)
src/api/Cards.ts:705
↓ 1 callersMethodcanRetry
(error: SearchError)
src/util/MagicQuerier.ts:59
↓ 1 callersMethodcanRetry
(error: SearchError)
src/util/MagicQuerier.ts:189
↓ 1 callersMethodcardNames
()
src/api/Catalog.ts:6
↓ 1 callersMethodcreatureTypes
()
src/api/Catalog.ts:21
↓ 1 callersMethoddefinitions
()
src/api/BulkData.ts:62
↓ 1 callersMethodenchantmentTypes
()
src/api/Catalog.ts:41
↓ 1 callersMethodgetCards
(options?: SetSearchOptions)
src/api/Sets.ts:66
↓ 1 callersMethodgetRulings
()
src/api/Cards.ts:566
↓ 1 callersMethodgetSet
()
src/api/Cards.ts:561
↓ 1 callersFunctiongetTimeString
(start: number)
gulpfile.ts:138
↓ 1 callersMethodgetTokens
()
src/api/Cards.ts:586
↓ 1 callersMethodkeywordAbilities
()
src/api/Catalog.ts:71
↓ 1 callersMethodkeywordActions
()
src/api/Catalog.ts:76
↓ 1 callersMethodlandTypes
()
src/api/Catalog.ts:31
↓ 1 callersMethodloyalties
()
src/api/Catalog.ts:61
↓ 1 callersMethodonce
()
gulpfile.ts:58
↓ 1 callersMethodonce
(eventName: string | symbol, listener: Listener)
src/util/EventEmitter.ts:47
↓ 1 callersMethodparseMana
(shorthand: string)
src/api/Symbology.ts:41
↓ 1 callersMethodplaneswalkerTypes
()
src/api/Catalog.ts:26
↓ 1 callersMethodpowers
()
src/api/Catalog.ts:51
↓ 1 callersMethodprependListener
(eventName: string | symbol, listener: Listener)
src/util/EventEmitter.ts:19
↓ 1 callersMethodprocessCollection
(emitter: MagicEmitter<Card, CardIdentifier>, identifiers: CardIdentifier[])
src/api/Cards.ts:754
↓ 1 callersMethodqueryAxios
(apiPath: string, query?: { [key: string]: any }, post?: any)
src/util/MagicQuerier.ts:172
↓ 1 callersMethodqueryFetch
(apiPath: string, query?: { [key: string]: any }, post?: any)
src/util/MagicQuerier.ts:140
↓ 1 callersMethodsearch
(query: string, options?: SearchOptions | number)
src/api/Cards.ts:725
↓ 1 callersFunctionsetDuration
(ms: number)
src/util/Cached.ts:135
↓ 1 callersFunctionsetLimit
(count: number)
src/util/Cached.ts:146
↓ 1 callersMethodspellTypes
()
src/api/Catalog.ts:46
↓ 1 callersMethodsupertypes
()
src/api/Catalog.ts:86
↓ 1 callersMethodtoughnesses
()
src/api/Catalog.ts:56
↓ 1 callersMethodtryQuery
(apiPath: string, query?: { [key: string]: any }, post?: any)
src/util/MagicQuerier.ts:120
↓ 1 callersMethodwatermarks
()
src/api/Catalog.ts:66
↓ 1 callersMethodwordBank
()
src/api/Catalog.ts:16
FunctionCached
(target: any, key: string, descriptor: TypedPropertyDescriptor<AnyFunction>)
src/util/Cached.ts:23
MethodScry
(scry: typeof import("../Scry"))
src/api/Sets.ts:84
MethodScry
(scry: typeof import("../Scry"))
src/api/Cards.ts:646
Method[Symbol.asyncIterator]
()
src/util/MagicEmitter.ts:85
Methodall
(page = 1)
src/api/Migrations.ts:32
Methodall
()
src/api/Symbology.ts:36
Methodall
()
src/util/MagicEmitter.ts:89
MethodbyArenaId
(id: number)
src/api/Rulings.ts:33
FunctionbyId
(id: string)
src/api/Cards.ts:387
MethodbyId
(id: string)
src/api/Migrations.ts:41
next →1–100 of 153, ranked by callers