Hi Rido,{#HS:169175145-2101#}
The API documentation will guide you on how to use the API. You'll need to be authenticated to be able to retrieve data for a private form. https://api.ona.io/static/docs/index.html#authentication. Here's documentaion on how to retrieve data https://api.ona.io/static/docs/data.html#get-submitted-data-for-a-specific-form
You can get an example JS script here https://github.com/ukanga/js-ona-api-demos.
Regards,
Roy.
--
Ona Support
ona-co...@googlegroups.com
![]()
On Tue, Feb 9, 2016 at 2:09 AM UTC, Rido <rido...@gmail.com> wrote:
I want to show data from "ona.io" on my web page . I am still confused on how to use the data retrieval API "ona.io" , I am very grateful if anyone give an example script for data retrieval, this is the address of my project "https://ona.io/itbnpb/11646"
--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To post to this group, send email to ona-co...@googlegroups.com.
Visit this group at https://groups.google.com/group/ona-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/ee33a4c1-c79f-4fcb-aafb-49505c2e19a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Rido,{#HS:169175145-2101#}
Try running the application web server on port 3000 or port 8000 port, such that you access it on the brower using the url localhost:3000/json-ona-api-master/index.html or localhost:8000/json-ona-api-master/index.html
Or you could run the application using python's simple HTTP server as indicated here. https://github.com/ukanga/js-ona-api-demos/blob/master/README.md with ports 3000 or 8000.
We also have open source Ona API client library written in Clojure https://github.com/onaio/milia which you can
You could also use PHP cURL if you are familiar with PHP http://php.net/manual/en/curl.examples-basic.php or PycURL for http://pycurl.io/docs/latest/quickstart.html Python.
--
Ona Support
ona-co...@googlegroups.com
![]()
On Wed, Feb 10, 2016 at 9:22 AM UTC, Ridowan Nasution <rido...@gmail.com> wrote:
Hi Roy,
I have problem token API from your example JS script
this image token API from https://api.ona.io/itbnpb/api-token
what there fault that I do?.
Sory i'm beginner about get data from API anything, because this my first
myproject to get data from API ona.io. So, i am very grateful if you help
me.
Regards,
Rido
Files Attached: api-token-ona.jpg (22 KB) error_ona_api.jpg (39 KB)
Hi Rido,
The token should just include a token as copied from Ona without a URL. Remove https/ona.io/itbnpb/ from the token string and try again. Hope this helps.
Regards,
Roy.
--
Ona Support
ona-co...@googlegroups.com
{#HS:169175145-2101#}![]()
On Fri, Feb 12, 2016 at 6:47 AM UTC, Ridowan Nasution <rido...@gmail.com> wrote:
Hi Roy
Thank you for his guide.
I have a problem, in the example application "js-ona-fire-demos-master", an
array of detail described the "invalid token". whether there is a problem
of API token's?
On Thu, Feb 11, 2016 at 7:52 AM UTC, Ona Community <ona-co...@googlegroups.com> wrote:
Hi Rido,
Try running the application web server on port 3000 or port 8000 port, such that you access it on the brower using the url localhost:3000/json-ona-api-master/index.html or localhost:8000/json-ona-api-master/index.html
Or you could run the application using python's simple HTTP server as indicated here. https://github.com/ukanga/js-ona-api-demos/blob/master/README.md with ports 3000 or 8000.
We also have open source Ona API client library written in Clojure https://github.com/onaio/milia which you can
You could also use PHP cURL if you are familiar with PHP http://php.net/manual/en/curl.examples-basic.php or PycURL for http://pycurl.io/docs/latest/quickstart.html Python.
--
Ona Support
ona-co...@googlegroups.com