Fetch data from odk using api - odk

I want to integrate odk data with an application(accepts json/xml). I need to know about how i can access the odk data directly using a api which returns json. have installed odk briefcase which can be used to fetch data from odk server but i need only api's.
Can anybody help?

I also needed to do this long back, but resorted to streaming data to my google drive directly from ODK and then using the google API to get data to my application.
Hope this helps.

Related

Fetch data from google sheet using React

I would like to fetch data from the google sheet with React.
I tried to use the following libraries
https://github.com/ruucm/react-google-sheets
https://github.com/gglukmann/use-google-sheets
However, it always requires setting the file permission to "Anyone with this link can view". We don't want to share the file outside our org. If we do this, the client cannot read the data from google sheet.
Is there any way that I can fetch data from a restricted google sheet? Thank you
You need to use the Google Sheets API to connect to the Sheet and fetch the data.
The application would need to be authorised to run as the person who owns or is an editor of the sheet. Check out the node.js quickstart for setting up an application in the cloud console. The method you need to get data is spreadsheets.values.get.

Is there any API to get data from database into Google Data Studio through rest API only

Want to get the data from spectrum hub and use that same for report generation but, unable to get request data studio link for get method to pass it in postman with their respective parameters
You can build your own connector for Data Studio that fetches data from a certain REST API. See guides and reference on Community Connectors.
As there are different data sources available to connect with Google Data Studio, you may use any of them as the source for GDS Reporting.
What you can do is:
Pull out the data from the API and create a CSV file and upload it to GDS.
Push the API data into Google Sheet.
Push the API data to MySQL and then connect it with the GDS

Flutter with Azure API connecting to SQL SERVER DB

I am developing a mobile app with Flutter, however my data sits in a sql sever database. Would I still be able to perform CRUD operations on that DB from a Flutter mobile app?
And are there any magical plugins for Flutter to achieve this ?
Thanks
Luke
the best way from my point of view is to do that is through http Requests, this means you need to
create a rest application on your azure API
the application will perform http requests(post-patch-delete-get)
each request of these will map to an operation on the database(get = read, post=create, patch=update, delete=delete)
You can reference this blob: How to connect Flutter App to sql server .
NTMS did that successfully with SQLServerSocket.
First: you need a SQLServerSocket: https://github.com/nippur72/SqlServerSocket is free and works!
Second: you need a client https://github.com/nippur72/SqlServerSocket (look in DartClient folder).
He tested it with his remote sql and is working on CRUD.
I think you can get more useful infromations from that blob.
Hope this helps.

Client-accessible noSql database?

Im building a simple angular application and there is a small administrator panel for updating the content (a .json document). I'm looking for a way to edit the json document from the administrator panel.
I can manipulate the memory-loaded json but I can't save it. Is there a way to put the json file in some kind of cloud database and connect to it without setting up a server or backend for my application?
I want my application to be easily deployable on any ftp so I can't setup a nodeserver or install something like couchdb.
Any ideas are appreciated.
You could use a provider like Parse. It's free (up to a limit of requests/month), has a nice JavaScript SDK that would get you up and running quickly. https://parse.com/
Also, check out this query builder to aid in retrieving your data from Parse. It's built as an Angular service for easy integration. https://github.com/dpollot/parse-query
EDIT
Parse also offers hosting, for free.

salesforce rest api

I am new to salesforce. I need to know how to design a WSDL for salesforce REST API inorder to connect salesforce service?
I have a doubt, is it possible to do a GET request(sales force has REST access) on sales force resources and create xsd based on the response xml received for each request?
But I cant able to find particular schema available for salesforce.
or
Is there any other way to design a WSDL for REST API?
Thank you for your answer in advance
For the REST API, you don't need to use the WSDL. You can explore the API by going to
https://{instance}.salesforce.com/services/data/v24.0
For an interactive explorer, check out apigee's salesforce console:
https://apigee.com/console/salesforce
You can also use Workbench to make REST calls to Salesforce:
http://wiki.developerforce.com/page/Workbench

Resources