Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChiriVulpes/scryfall-sdk
/ functions
Functions
153 in github.com/ChiriVulpes/scryfall-sdk
⨍
Functions
153
◇
Types & classes
68
Method
byId
(id: string)
src/api/Rulings.ts:13
Function
byIllustrationId
(id: string)
src/api/Cards.ts:403
Function
byMtgoId
(id: number)
src/api/Cards.ts:391
Method
byMtgoId
(id: number)
src/api/Rulings.ts:28
Function
byMultiverseId
(id: number)
src/api/Cards.ts:395
Method
byMultiverseId
(id: number)
src/api/Rulings.ts:23
Function
byName
(name: string, set?: string)
src/api/Cards.ts:407
Method
byName
(name: string, set?: string | boolean, fuzzy = false)
src/api/Cards.ts:658
Function
byOracleId
(id: string)
src/api/Cards.ts:399
Function
bySet
(set: string, collectorNumber: string | number)
src/api/Cards.ts:411
Method
bySet
(setCode: string, collectorNumber: string | number)
src/api/Rulings.ts:18
Method
byTcgPlayerId
(id: number)
src/api/Cards.ts:700
Method
cancelled
()
src/util/MagicEmitter.ts:14
Function
clean
()
gulpfile.ts:26
Function
clear
()
src/util/Cached.ts:126
Function
clearCache
()
src/Scry.ts:54
Function
compile
()
gulpfile.ts:22
Method
construct
(set: Set)
src/api/Sets.ts:60
Method
construct
(card: RelatedCard)
src/api/Cards.ts:208
Method
construct
(card: Card)
src/api/Cards.ts:546
Method
constructor
(dir: string, outDir: string)
gulpfile.ts:38
Method
constructor
()
src/util/MagicEmitter.ts:25
Method
ended
()
src/util/MagicEmitter.ts:9
Method
eventNames
()
src/util/EventEmitter.ts:105
Method
getCost
* @returns The `mana_cost` of this card, with symbols transformed by the transformer as set by @see {@link Cards.setSymbologyTransformer}
src/api/Cards.ts:620
Method
getImageURI
(version: keyof ImageUris)
src/api/Cards.ts:627
Method
getMaxListeners
()
src/util/EventEmitter.ts:88
Function
getObjectsCount
()
src/util/Cached.ts:118
Method
getText
* @returns The `oracle_text` of this card, with symbols transformed by the transformer as set by @see {@link Cards.setSymbologyTransformer}
src/api/Cards.ts:609
Function
isGarbageCollectorRunning
()
src/util/Cached.ts:122
Method
listenerCount
(eventName: string | symbol)
src/util/EventEmitter.ts:101
Method
listeners
(eventName: string | symbol)
src/util/EventEmitter.ts:92
Method
notFound
()
src/util/MagicEmitter.ts:93
Method
off
(eventName: string | symbol, listener: Listener)
src/util/EventEmitter.ts:65
Method
onComplete
(handler: (done: () => any) => any)
gulpfile.ts:48
Method
onData
(handler: (data: string) => boolean | undefined | void)
gulpfile.ts:43
Method
prependOnceListener
(eventName: string | symbol, listener: Listener)
src/util/EventEmitter.ts:56
Method
rawListeners
(eventName: string | symbol)
src/util/EventEmitter.ts:97
Method
realListener
(...args)
src/util/EventEmitter.ts:48
Method
removeAllListeners
(event?: string | symbol | undefined)
src/util/EventEmitter.ts:70
Function
resetCacheDuration
()
src/util/Cached.ts:131
Function
resetLimit
()
src/util/Cached.ts:142
Function
setAgent
(agent: string, version: string)
src/Scry.ts:31
Function
setCacheDuration
(ms: number)
src/Scry.ts:62
Function
setCacheLimit
(amount: number)
src/Scry.ts:70
Method
setDeclaration
(dir: string)
gulpfile.ts:53
Function
setFuzzySearch
(search?: typeof IScry["fuzzySearch"])
src/Scry.ts:74
Method
setMaxListeners
(n: number)
src/util/EventEmitter.ts:83
Function
setRetry
(attempts: number, timeout?: number, canRetry?: (error: SearchError) => boolean)
src/Scry.ts:40
Function
value
(...args: any[])
src/util/Cached.ts:26
Method
waitForInitial
()
gulpfile.ts:113
Method
watch
()
gulpfile.ts:80
Method
willCancelAfterPage
()
src/util/MagicEmitter.ts:19
← previous
101–153 of 153, ranked by callers