Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 1 post(s) |
Olixia Castitatis
Beyond Divinity Inc Shadow Cartel
3
|
Posted - 2014.12.13 00:34:56 -
[1] - Quote
HI,
In my project I would like to be able to search on character, corporation or alliance names and return the ID of that entity. For instance, I'd like the user to be able to type in:
Olix
and have returned a list of characters whose name starts with 'Olix', and similar for corporation and alliance names.
If this is not possible, I'd like to be able to look up corporation and alliance IDs from the full name of that corporation or alliance. For instance, I'd like to be able to resolve
Shadow Cartel
to its ID, '495729389'. I can't seem to see how to do this at the moment - the XML API has endpoints to convert character names to character Ids and vice versa, but doesn't appear to have this for corporations/alliances.
I think it would be possible to develop a (highly inefficient) alliance name search using the CREST alliances path:
[url]https://public-crest.eveonline.com/alliances/[/url]
and then paging through all the results until a match is found. However, the equivalent path for corporations,
[url]https://public-crest.eveonline.com/corporations/[/url]
is an invalid route.
Any ideas? |
Dragonaire
Here there be Dragons
69
|
Posted - 2014.12.13 01:50:21 -
[2] - Quote
Might want to look at the https://neweden-dev.com/EVE/CharacterID again as it doesn't just do characters but the other things you asked about.
Finds camping stations from the inside much easier.
Designer of Yapeal-á for the Eve API.
Check out the Yapeal PHP API Library thread for more information.
|
|
CCP FoxFour
C C P C C P Alliance
3774
|
Posted - 2014.12.13 10:29:30 -
[3] - Quote
https://api.eveonline.com/eve/OwnerID.xml.aspx?names=Olix
That will also tell you WHAT the search result is. :)
@CCP_FoxFour // Technical Designer // Team Size Matters
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
Olixia Castitatis
Beyond Divinity Inc Shadow Cartel
3
|
Posted - 2014.12.13 13:29:50 -
[4] - Quote
Oh, awesome. I totally missed that. Thanks. |
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |