20 lines
395 B
Org Mode
20 lines
395 B
Org Mode
#+options: toc:nil num:nil
|
|
|
|
* Using kobotoolbox API
|
|
|
|
|
|
Getting the API token
|
|
#+begin_example sh
|
|
curl -u username:password "https:/[kpi-url]/token/?format=json"
|
|
#+end_example
|
|
|
|
|
|
#+begin_example sh
|
|
curl -X GET https://[kpi-url]/api/v2/assets.json -H "Authorization: Token [your_token_goes_here]"
|
|
#+end_example
|
|
|
|
|
|
** References
|
|
|
|
- [[https://support.kobotoolbox.org/api.html][Kobotoolbox support]]
|