2.2.0 • Published 1 month ago

@openfn/language-kobotoolbox v2.2.0

Weekly downloads
-
License
LGPLv3
Repository
github
Last release
1 month ago

Language KoboToolbox

Language Pack for building expressions and operations to interact with the TEMPLATE API.

Documentation

Configuration

View all the required and optional properties for state.configuration in the official configuration-schema definition.

Get the list of forms

getForms({}, state => {
  console.log(state.data);
  return state;
});

Get submissions for a specific form

A query can be used to filter results.

getSubmissions(
  { formId: 'aXecHjmbATuF6iGFmvBLBX', query: { end: { $gte: '2020-11-20' } } },
  state => {
    console.log(state.data);
    return state;
  }
);

Development

Clone the adaptors monorepo. Follow the Getting Started guide inside to get set up.

Run tests using pnpm run test or pnpm run test:watch

Build the project using pnpm build.

To just build the docs run pnpm build docs

2.2.0

1 month ago

2.1.0

8 months ago

2.0.1

11 months ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.4

3 years ago