| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Byteflux
Southern Cross Incorporated Flying Dangerous
9
|
Posted - 2011.11.02 16:55:00 -
[1] - Quote
Hello tech lab,
I've tried Googling and forum searching but was unable to find exactly what I was looking for.
I am looking for a list of ID ranges for characters, corporations and alliances (and anything else). Basically, I need to validate name-to-ID conversions from the CharacterID API response using arbitrary names supplied by a user and I need to ensure that the ID returned by the API belongs to the type of entity the user claims.
A good example of this would be killmail validation, ensuring that all character names, corporation names and alliance names in a killmail are legitimately what they claim to be, since the CharacterID API will not make that distinction for you.
Anyone who shares this list gets free internet spaceship cookies :)
Thanks.
Edit:
After digging around some more, I did find mention of such a list but no actual link to it. I decided to experiment with various character, corporation and alliance names and after seeing the results I'm not so sure disambiguation by ID range is even possible. Oh well. |

Byteflux
Southern Cross Incorporated Flying Dangerous
9
|
Posted - 2011.11.02 22:30:00 -
[2] - Quote
My concern with this is that I would potentially (in extreme cases) need to make several hundred requests to those APIs within a few seconds. I don't know if CCP would allow it in the long run. Can anyone confirm? |

Byteflux
Southern Cross Incorporated Flying Dangerous
10
|
Posted - 2011.11.03 06:03:00 -
[3] - Quote
Lutz Major wrote:L Byteflux wrote:My concern with this is that I would potentially (in extreme cases) need to make several hundred requests to those APIs within a few seconds. I don't know if CCP would allow it in the long run. Can anyone confirm? To be honest I can't imagine a usecase where you might want to request the data "several hundred" times (except for first time imports). If so, you will get blocked pretty quickly, if you don't start to cache request results.
With a clean database to boot, there will end up being a lot of "first time" imports for a while, which is my concern. |

Byteflux
Southern Cross Incorporated Flying Dangerous
10
|
Posted - 2011.11.03 07:42:00 -
[4] - Quote
Yep, thanks for the info guys, I'm taking all your suggestions and building the data now. This would all be so much easier once CCP implements a disambiguous name/id API call for each entity. |
| |
|