Divelogs.de integration

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Fri Nov 15 10:50:20 UTC 2013


Thiago Macieira wrote:
> On sexta-feira, 15 de novembro de 2013 10:04:40, Dirk Hohndel wrote:
>>> I also need the specs for any XML response protocols.
>> Do you need anything besides what's at
>> https://www.divelogs.de/dl_api.html ?
>
> Yeah. For example:
>
> To get a list of available dives in XML format, POST to
> https://divelogs.de/xml_available_dives.php
> Parameters:
> "user" (mandatory) with your username
> "pass" (mandatory) with your password
> Returns: XML
>
> What is the format of that XML?
>
> I can guess from the returned data, but it would be better if there were a
> spec.

It should be fairly self explanatory I think.  By the way, I think we 
used the DLD version in the Subsurface-Gtk version.  See the 
divelogde_*() functions in 
https://github.com/torvalds/subsurface/blob/Gtk/webservice.c

Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131115/983f35bf/attachment.html>


More information about the subsurface mailing list