Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
ElanMorin6
GoonSwarm
|
Posted - 2009.02.24 03:31:00 -
[1]
I just want to be able to see what's in them, I'm not trying to do any fancy (not yet anyway). I'm having a hard time finding solid documentation on what's in all the different files, and this seemed like it'd be an easier way. Except I couldn't even figure that out.
|
Kiay Stryx
Gallente Phoenix Mandate
|
Posted - 2009.02.24 04:41:00 -
[2]
Edited by: Kiay Stryx on 24/02/2009 04:41:16 http://www.eveonline.com/api/doc/
~Stryx
|
Dragonaire
Caldari Corax.
|
Posted - 2009.02.24 04:50:00 -
[3]
Or when you really want some documentation that is usable try Eve-Dev -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
Toobit Hor
|
Posted - 2009.02.24 06:37:00 -
[4]
Linkage
Obviously this app is a bit out of date now, but it's still good to give you an intro to the API xml.
To work out what the xml tags mean, check out the eve-dev wiki. (linked in above post)
|
Kiay Stryx
Gallente Phoenix Mandate
|
Posted - 2009.02.24 10:30:00 -
[5]
Originally by: Dragonaire Or when you really want some documentation that is usable try Eve-Dev
http://wiki.eve-id.net does not load for me, which is why I didn't post it. Is it working for others?
~Stryx
|
Bloemkoolsaus
Divine Power. KIA Alliance
|
Posted - 2009.02.24 10:54:00 -
[6]
You might find this link usefull: http://games.chruker.dk/eve_online/test_eve_api.php
Originally by: Kiay Stryx http://wiki.eve-id.net does not load for me, which is why I didn't post it. Is it working for others?
It worsk usually.. atm though it isn't working for me either..
|
Dragonaire
Caldari Corax.
|
Posted - 2009.02.24 17:09:00 -
[7]
I've noticed some days I have problems connecting to Eve-Dev it usually seems to clear up in a couple hours and once in a while have to wait until the next day for it to start working for me. Not sure what's going on but basically all my connections seem to hang right after it gets start but before it start displaying anything. I had more problems when they first changed hosts but still happens once in a while. All I can tell you is give it a couple minutes then try refreshing it a couple more times if that doesn't work wait a bit and try again it and chruker's site are by far the most useful sites for anything on the API. -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
Commander Ashik
Minmatar We See Dead People
|
Posted - 2009.02.26 21:47:00 -
[8]
Here is what I use to get the XML into a seperate file and then from the file, into an assoc array in PHP
<?php //get industry jobs
function xml2assoc($xml) { $tree = null; while($xml->read()) switch ($xml->nodeType) { case XMLReader::END_ELEMENT: return $tree; case XMLReader::ELEMENT: $node = array('tag' => $xml->name, 'value' => $xml->isEmptyElement ? '' : xml2assoc($xml)); if($xml->hasAttributes) while($xml->moveToNextAttribute()) $node['attributes'][$xml->name] = $xml->value; $tree[] = $node; break; case XMLReader::TEXT: case XMLReader::CDATA: $tree .= $xml->value; } return $tree; } $apikey = ''//api info $userid = ''//userid $charid = ''//charid $file = 'http://api.eve-online.com/corp/IndustryJobs.xml.aspx?userID=' . $userid . '&apiKey=' . $apikey . '&characterID=' . $charid . ';
$file2 = file_get_contents($file); $fp = fopen('science.xml' , 'w'); fwrite($fp, $file2);
$xml = new XMLReader(); $xml->open('science.xml');
$assoc = xml2assoc($xml); $xml->close(); print_r($assoc);
?>
|
LymeM
Ars ex Discordia GoonSwarm
|
Posted - 2009.02.27 06:46:00 -
[9]
Someone has dumped a few of them already
http://libeveapi.googlecode.com/svn/trunk/XmlResponses
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |