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.
 

API Programmer Required - Paid Project

Author
Thorin Wren
The Scope
Gallente Federation
#1 - 2012-07-13 15:47:41 UTC
Hi,

I am looking for a programmer to integrate some api information into a script I have. I have a field on a php script that I want to populate with a characters name when api information is entered and a character is chosen (if more than one is on the account). Please could you post here with prices or if more information is required.

Thanks

Thorin Wren
Chaotic Mind
Republic University
Minmatar Republic
#2 - 2012-07-14 20:43:25 UTC
for free, just evemail me the details
Thorin Wren
The Scope
Gallente Federation
#3 - 2012-07-16 14:49:07 UTC
Chaotic Mind wrote:
for free, just evemail me the details


Thanks for replying, evemail sent.

-TW-
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#4 - 2012-07-16 15:42:30 UTC
< ?php
$curl = curl_init();

$keyid="put your keyid here";
$vcode="put your vcode here";

curl_setopt($curl, CURLOPT_URL, "https://api.eveonline.com/account/Characters.xml.aspx?keyID=".$keyid."&vcode=".$vcode);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$content = curl_exec($curl);
$xml = new simpleXMLElement ($content);
foreach ($xml -> result -> rowset-> row as $row)
{
echo $row['name']."\n";
echo $row['characterID']."\n";
}
? >


That'll print out all the names and character ids associated with the key.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter