Saltar al contenido principal
Esta página no tiene versión en español, así que te la mostramos en inglés.

khanacademy@0.6.3

fetch(params)

This adaptor exports the following from common:

alterState
combine()
dataPath()
dataValue()
field()
fields()
fn()
fnIf()
lastReferenceValue()
log()
merge()
sourceValue()

Functions​

fetch​

fetch(params) ⇒ Operation

Fetch data from the Khan Academy API

ParamTypeDescription
paramsobjectdata to make the query

Example: Fetch data from the Khan Academy API

fetch({ getEndpoint: "topictree", queryParams: { subject: "math" } });