Atlas API specification
xspexport:Specification: getfile | ||||||
namn | typ | obligatoriskt | exempel | kommentar | ||
A | 1 | hash | string | abcd | Your login hash from api_login() | |
B | 2 | format | string | tab | tab/csv for file format | |
This will create a file for download for the requesting XSP. This can take several minutes, especially if there is a XSP-specific translations. The result is an URL for downloading the file, request it seperately. | ||||||
Successful response<?xml version="1.0" encoding="UTF-8"?> <xspexport> <xspexport> <@attributes> <generator>Atlas AXA</generator> <version>1.5</version> </@attributes> <getfile> <response> <location>http://www.stadsnatsfabriken.se/admin/edit/citynetadressess/plain/download.php?filename=export_36931_201201251141.txt</location> </response> <status>success</status> </getfile> </xspexport> </xspexport> | ||||||
Specification: getxml | ||||||
namn | typ | obligatoriskt | exempel | kommentar | ||
A | 1 | hash | string | abcd | Your login hash from api_login() | |
B | 2 | page | int | 1 | Page of results | |
Successful response<?xml version="1.0" encoding="UTF-8"?> <xspexport> <xspexport> <@attributes> <generator>Atlas AXA</generator> <version>1.5</version> </@attributes> <getxml> <response> <addresses> <address> <citynet>Eskilstuna Stadsnät</citynet> <streetname>Måttjohanssons väg</streetname> <streetnumber>46</streetnumber> <streetletter> </streetletter> <zip>63346</zip> <city>Eskilstuna</city> <premise> </premise> <type>Företag</type> <cpe>Finns ej</cpe> <socket> </socket> <nettype> </nettype> <media>TP</media> <date>2009-01-21</date> <keywords> </keywords> <capacity> </capacity> </address> </addresses> <pages>2148</pages> <page>1</page> <perpage>40</perpage> </response> <status>success</status> </getxml> </xspexport> </xspexport> |