Pages: [1] :: one page |
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Duimech
Solstice Horizon
|
Posted - 2010.03.24 02:02:00 -
[1]
Hello, I am a c++ / java programmer and I am interested in creating a small program that pulls information based off the API. I have been reading about the API system, but I cannot find a solid source of documentation. I have read the information from api.eve-online.com and various documentation around the web. It is my understanding that all the information is pulled from a database that has been filled with dump files (please correct me if I am wrong).
I have my own web server with a Sql server running (if i need my own db), but i understand that we connect to the eve-online server to pull the information via API. How do we go about connecting to the server? Do we just use the mysql_connect() function? If so, what information do we use to connect (dbhost, dbuser, pass)? I believe that once I get connected I will understand how to extract the data.
Any help to get me going in the correct direction is appreciated. Thanks. My life is based on a true story! |

Johnathan Roark
Caldari The Graduates Morsus Mihi
|
Posted - 2010.03.24 02:33:00 -
[2]
The API is in XML. The best resource on the API is at http://wiki.eve-id.net/APIv2_Page_Index.
In PHP, I use cURL to load the API page into a string, then parse it with simpleXML. You may also want to take a look at a java library for the API EVEAPI or JEve
POS-Tracker 3.0 Hosting |

Duimech
Solstice Horizon
|
Posted - 2010.03.24 05:47:00 -
[3]
I appreciate your input. I will try to get started with the information you have provided.
------------------------------------ My life is based on a true story! |

Johnathan Roark
Caldari The Graduates Morsus Mihi
|
Posted - 2010.03.24 23:05:00 -
[4]
Originally by: Duimech
Edited again: ------------- I got this working. If this is helpful to anyone else, I used these lines to get it going: curl_setopt($ch, CURLOPT_URL, 'http://api.eve-online.com/corp/CorporationSheet.xml.aspx'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "corporationID=$corporationID");
Thanks
What language are you using? That looks like PHP. If so, I would suggest looking at yapeal or Ale. Also, searching these forums for php and api should give you lots of different examples.
POS-Tracker 3.0 Hosting |

Duimech
Solstice Horizon
|
Posted - 2010.03.25 06:46:00 -
[5]
The code is php. I am only trying to do small scripts now to get a feel on how the API works. I will ultimately have to output using php since my project is going to be web-based. I do hope to move to a standalone project once I have a grip on everything though.
------------------------------------ My life is based on a true story! |
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |