Is getting a characters info really this difficult?


(MJ Maverick) #1

I have a web system running off the old XML, in the admin panel you can add another admin by typing a characters name and it will check if they are real, if so, pull in their corp/alliance info and portait for immersion.

If I’m right, this is now impossible with ESI? The problem being you cannot get a characterID from a characters name?

Why is there so much protection over a characterID? Seems a bit pointless and obstructive, making it very difficult to migrate to ESI while maintaining the same functionality.


(AnnoyingSchlabbi) #2

You can search for a character by name with ESI. The endpoint is /search/. It will return you an array with matching characterIDs.


(MJ Maverick) #3

Aha, yes:

https://esi.tech.ccp.is/latest/search/?categories=character&datasource=tranquility&language=en-us&search=MJ%20Maverick&strict=false

Thank you, another couple of hops from there and I can get what I want.


(system) #4

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.