Using the KOBO REST API on a locally hosted KOBO server

Hello,

Is it possible to interact with a locally hosted KOBO server (using what’s available on GitHub, specifically, dkobo) with a REST API, similar to how we can interact with the https://kc.kobotoolbox.org server? How do we go about doing this? Could someone kindly assist with a code snippet showing how to do this, with an example REST API call?

Thank you!

Hussein

Hi Hussein,

You can use the REST API on your local server just like you’d use the online version. For example, instead of https://kc.kobotoolbox.org/api/v1/ you would access it at http://localhost:8001/api/v1/. This API only covers the data management side of KoBoToolbox. dkobo doesn’t have an API, but we’re about to release the new version of the formbuilder and library which will include a full set of API endpoints as well.

Best,

Tino

···

On Thu, Dec 17, 2015 at 2:04 AM Hussein Lightwalla hussein.l...@kimetrica.com wrote:

Hello,

Is it possible to interact with a locally hosted KOBO server (using what’s available on GitHub, specifically, dkobo) with a REST API, similar to how we can interact with the https://kc.kobotoolbox.org server? How do we go about doing this? Could someone kindly assist with a code snippet showing how to do this, with an example REST API call?

Thank you!

Hussein

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo-...@googlegroups.com.

Visit this group at https://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.

Thanks Tino, for the feedback. I’ll attempt hosting my own Kobo instance and try out the API from there.

Kind regards,

Hussein

···

On Thursday, December 31, 2015 at 12:03:01 AM UTC+3, Tino Kreutzer wrote:

Hi Hussein,

You can use the REST API on your local server just like you’d use the online version. For example, instead of https://kc.kobotoolbox.org/api/v1/ you would access it at http://localhost:8001/api/v1/. This API only covers the data management side of KoBoToolbox. dkobo doesn’t have an API, but we’re about to release the new version of the formbuilder and library which will include a full set of API endpoints as well.

Best,

Tino

On Thu, Dec 17, 2015 at 2:04 AM Hussein Lightwalla hussein.l...@kimetrica.com wrote:

Hello,

Is it possible to interact with a locally hosted KOBO server (using what’s available on GitHub, specifically, dkobo) with a REST API, similar to how we can interact with the https://kc.kobotoolbox.org server? How do we go about doing this? Could someone kindly assist with a code snippet showing how to do this, with an example REST API call?

Thank you!

Hussein

You received this message because you are subscribed to the Google Groups “Kobo Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to kobo-users+...@googlegroups.com.

To post to this group, send email to kobo...@googlegroups.com.

Visit this group at https://groups.google.com/group/kobo-users.

For more options, visit https://groups.google.com/d/optout.