Skip to main content

khanacademy@0.3.0

Adaptor

Adaptor.execute

Kind: static class of Adaptor

new exports.execute(operations)

Execute a sequence of operations. Wraps @openfn/language-common/execute, and prepends initial state for khanacademy.

ParamTypeDescription
operationsOperationsOperations to be performed.

Example

execute(
create('foo'),
delete('bar')
)(state)

Adaptor.fetch

Kind: static class of Adaptor

new exports.fetch(params)

Fetch data from the Khan Academy API

ParamTypeDescription
paramsobjectdata to make the query

Example

execute(
fetch(params)
)(state)