I'm trying to use survey data collected by Kobotoolbox with CartoDB. I've reviewed the API's docs (https://kc.kobotoolbox.org/api/v1/), and I'm doing my best to follow them to connect my survey's data, but I can't seem to get it right. I'm left wondering if it's even possible.
You can access your data via basic and token authentication. I would like to do token authentication. To access your data via token authentication, you have to register it. . I've registered my application with the following details:
clientID: xxxx (40 characters in total actually)
response_typeshould be "code"
state: "a random state string that you client application will get when redirection happens"
The example given for a successful token authentication to a user's protected data in the KoboToolbox API is as follows:
Also, a successful call to the data for a specific survey looks as follows:
curl -X GET https://kc.kobotoolbox.org/api/v1/data/yyyy (where
yyyy is the unique ID for that survey)
If that's the case, should I just be able to insert my call to my specific survey into the "connect" to dataset field in cartoDB in this format?
If that is not the correct format, what format should i use? Or am i trying this completely incorrectly, and what should i be doing then to access data from KoboToolbox?
Fyi, KoboToolbox is one of a number of resources in the OpenRosa ecosystem of open source tools for data collection in areas without data collection - this ecosystem includes Open Data Kit (ODK), FormHub (depricated) Enketo, Ona, SMAP server, and others. If users have experience with one, I imagine the APIs for others would be very similar, and I'd be interested in hearing from anyone with experience working with them and CartoDB.