These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

EVE central api not returning xml anymore?

Author
crener
Caldari Provisions
Caldari State
#1 - 2015-05-11 19:18:51 UTC
A few months ago my google spreadsheet stopped working. So today i decided to look into it and apparently the urls that i have been using are wrong so i look into it and even the example urls on the eve central api page seem to return the wrong data.

http://api.eve-central.com/api/marketstat?typeid=34&typeid=35&regionlimit=10000002

returns:
118461678054.945.252.000.835.075.13 204521025996.1017.005.242.075.995.36 326652249945.6012.000.501.385.473.65 198432018510.5211.393.442.1510.8811.20 1112364185712.9135.0011.203.1712.5711.24 1361296204212.1035.000.373.5311.592.31

From my experience this isn't xml.... is this just me or is something wrong with the url/eve-central?
Polarina
EVE University
Ivy League
#2 - 2015-05-11 19:31:31 UTC
The link you provided does indeed return XML, what you are seeing is their web server incorrectly giving you the MIME type for a HTML document. The reason you aren't seeing any markup is because your browser is attempting to parse the XML document as if it were HTML.

You should be able to see the XML by right-clicking somewhere on the page and selecting "View Source".

Where are my clothes?

crener
Caldari Provisions
Caldari State
#3 - 2015-05-11 19:35:42 UTC
Huh, well that explains it, thanks :)
Hel O'Ween
Men On A Mission
#4 - 2015-05-12 02:07:18 UTC
Yepp, Firefox, for example honors the MIME type and displays the bunch of strings you've alos got. Internet Explorer, OTOH, displays the returned data as XML.

EVEWalletAware - an offline wallet manager.