Kobo API tutorial

This commit is contained in:
Jose 2023-02-06 11:12:45 -03:00
parent 4d5f4f2ab9
commit e7941b5e6e
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#+OPTIONS: toc:nil num:nil
#+DATE: 2022
* kobo
@ -10,3 +12,4 @@ Esta interessante ferramenta simplifica o processo de desenho de estudos, coleta
** Primeiros passos para uso de kobotoolbox
- Tutorial em [[https://ludoviko.me/index.php/s/yH99YMb55b2s5tz][pdf]]
- [[./doc/koboapi.org][Usando API de Kobo]]

19
doc/koboapi.org Normal file
View File

@ -0,0 +1,19 @@
#+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]]