Skip to content

OpenFn/language-kobotoolbox

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Language KoboToolbox Build Status

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

Documentation

post

sample configuration

{
  "baseURL": "https://kf.kobotoolbox.org",
  "username": "mamadou@openfn.org",
  "password": "supersecret",
  "apiVersion": "v2"
}

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 repo, run npm install.

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

Build the project using make.

About

No description, website, or topics provided.

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
LGPL-3.0
LICENSE.LESSER

Stars

Watchers

Forks

Packages

No packages published