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.
 

Question about using CharacterName.xml to get itemName from itemID

Author
Alexis Prey
The Scope
Gallente Federation
#1 - 2011-09-14 22:57:21 UTC
I'm confused on how to write the address.

I tried: http://api.eveonline.com/eve/CharacterName.xml.aspx?ids=1 This just gives like banks
I tried: http://api.eveonline.com/eve/CharacterName.xml.aspx?itemID=1 This just gives an error.


What is the correct syntax please?
Amikin
Perkone
Caldari State
#2 - 2011-09-14 23:01:28 UTC
Quote:
http://api.eveonline.com/eve/CharacterName.xml.aspx?ids=1540128061


Returns my name. It seems to be working for me.
Alexis Prey
The Scope
Gallente Federation
#3 - 2011-09-14 23:24:57 UTC
Amikin wrote:
Quote:
http://api.eveonline.com/eve/CharacterName.xml.aspx?ids=1540128061


Returns my name. It seems to be working for me.



Silly boy! Read the title. I'm trying to figure out how to turn itemID into itemName.
Johnathan Roark
Quantum Industries
#4 - 2011-09-15 00:21:45 UTC
Alexis Prey wrote:
Amikin wrote:
Quote:
http://api.eveonline.com/eve/CharacterName.xml.aspx?ids=1540128061


Returns my name. It seems to be working for me.



Silly boy! Read the title. I'm trying to figure out how to turn itemID into itemName.


Whats wrong with using the static database dump?

EVEVERIFY - A recruiting API Verification and Audit Tool

Also try out Yapeal for your php api needs

Alexis Prey
The Scope
Gallente Federation
#5 - 2011-09-15 01:34:14 UTC
Johnathan Roark wrote:
Alexis Prey wrote:
Amikin wrote:
Quote:
http://api.eveonline.com/eve/CharacterName.xml.aspx?ids=1540128061


Returns my name. It seems to be working for me.



Silly boy! Read the title. I'm trying to figure out how to turn itemID into itemName.


Whats wrong with using the static database dump?


Yes, I ended up doing that. Amikin spoke to me in game, and gave me the sql file to upload to my database. Got it now. :)
Elegbara
White Wolf Enterprises
#6 - 2011-09-15 04:30:13 UTC
TorTorden
Tors shibari party
#7 - 2011-09-15 07:22:36 UTC
Strictly speaking you can't use ItemID's alone, you need the typeID's to find out what they are.
Alexis Prey
The Scope
Gallente Federation
#8 - 2011-09-15 07:31:22 UTC
TorTorden wrote:
Strictly speaking you can't use ItemID's alone, you need the typeID's to find out what they are.

Yes, thanks for your response I've figured this out hehe