API for ODK Aggregate

Hi, I appreciate that it is possible to download (manually) all the
data held within an instance of ODK Aggregate ...

... but is it possible to access the information held within Aggregate
programatically?

Many Thanks, Kirby

Aggregate is a web app, so you can potentially invoke any HTTP request
against the server that you can do from within a browser and parse the
returned HTML and extract information for, e.g., queries.

Since OAuth is not supported, you need to access the server from within an
applet (like Briefcase) in order to utilize the cookies and authentication
context provided by your browser.

The servlet that is used for the Briefcase app is /csvFragment. e.g.,
http://opendatakit.appspot.com/csvFragment . It is geared toward a complete
dump of Aggregate's contents, rather than random access of that contents;
the construction of the odkId changes somewhat from ODK Aggregate 0.9.x to
1.0, as do the metadata columns returned.

Mitch

··· On Mon, Apr 11, 2011 at 1:55 AM, Cycle Exeter wrote:

Hi, I appreciate that it is possible to download (manually) all the
data held within an instance of ODK Aggregate ...

... but is it possible to access the information held within Aggregate
programatically?

Many Thanks, Kirby

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com

Mitch,

Thanks for the advice

Kirby

I should add that things are changing a lot between 0.9x and 1.0. We will
likely role out a Google Web Toolkit-based UI on top of 1.0.

With GWT, the resulting AJAX callbacks would be at a much lower level,
potentially less likely to change over time, and could be more useful as a
programmatic interface into Aggregate.

Mitch

··· On Mon, Apr 11, 2011 at 2:09 PM, Cycle Exeter wrote:

Mitch,

Thanks for the advice

Kirby

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com