Hi all -- I have an new API question, different from the one you helped me
with a month or two ago.
I have hired a developer that is going to make a PHP web application that
will regularly export from CommCare our entire body of submitted forms,
into its own local database. Then, from there, it will do statistical
calculations and create a web dashboard of charts, graphs, and
visualizations so we can better understand our project activities.
I want to be sure which API or method is best to tell the developers to
learn and use for this.
-- The new web app will always keep in its database a copy of the whole
collection of forms from our CommCare project space. (We are not working
with cases for this.)
-- Then, once a day, their app will make a new API call to our CommCare
project to determine which new forms have been added since the last time.
It will then export all of those new forms into their correct places in
their own database. (Naturally, in some circumstances, their app may
choose to reset itself and do a new, fresh download of all of the forms
from scratch... or we can tell it to do a "right now" refresh of the
database instead of waiting for the daily.)
the APIs to use for this might be either the Data Export Tool or the List
Forms API. But perhaps I'm missing big parts of the picture.
-- Can you tell me what API and method will be best to implement this daily
exporting of all forms content to a remote web app?
-- Any general pointers on why Data Export Tool, List Forms API, or another
API would be the best for this?
-- Can you provide any other general pointers about the method they should
use... to make it easier for these guys to start planning and reading
through the API documentation?
Huge thanks. I think that asking this clearly at the beginning can help
reduce confusion later on...
Eric