These forums have been archived and are now read-only.
The new forums are live and can be found at https://forums.eveonline.com/
Asset API into mysql (using php?)
$url="https://api.eveonline.com/char/AssetList.xml.aspx?keyID=xxxxx&vCode=xxxxx";//Begins connecting to eve api$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $url);curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_HEADER, false);//Create XML Parser$xml = new SimpleXMLElement(curl_exec($ch));curl_close($ch);//Parse the file foreach ($xml->xpath('//row') as $row) { { mysql_query('INSERT into player_inventory (player_name, item_id, qty) Values ('$user', $row['typeid'], $row['quantity']') or die(mysql_error()); } }
Developer of http://www.decloaked.com and http://sourceforge.net/projects/pykb/
Woo! CSM XI!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.