diff --git a/README.org b/README.org index eba28c2..ba73b87 100644 --- a/README.org +++ b/README.org @@ -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]] diff --git a/doc/koboapi.org b/doc/koboapi.org new file mode 100644 index 0000000..0800fb5 --- /dev/null +++ b/doc/koboapi.org @@ -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]]