esi / esi-issues

Issue tracking and feature requests for ESI
https://esi.evetech.net/
208 stars 23 forks source link

Request: Endpoint for Alpha Skill List #133

Open Ebag333 opened 7 years ago

Ebag333 commented 7 years ago

Not the current player skill list, but the actual back end skill list (static data, but not in the SDE).

https://gist.github.com/Ebag333/8ba25934d42ebad00cdc3331f9037f08

This isn't published anywhere (that I know of), and would be quite useful for 3rd parties.

ghost commented 7 years ago

Yep, this should be a public long-cache endpoint under skills.

sankage commented 7 years ago

In addition to an Alpha list of a skills, a full list would also be nice to have via a single endpoint.

Right now to accomplish this would require a minimum of 503 queries:

  1. https://esi.tech.ccp.is/latest/universe/categories/16/?datasource=tranquility&language=en-us to get all the Skill Groups.
    • 1 request
  2. https://esi.tech.ccp.is/latest/universe/groups/{{group_id}}/?datasource=tranquility&language=en-us to get the type_ids for each group.
    • 23 requests (24 groups, but 1 of them is Fake Skills)
  3. And then looping over those those ids with GET /universe/types/{type_id}/ to get the skill names and published status.
    • 479 requests

It would be really nice to have a single endpoint to access Skills that would return something like:

[
  {
    "group_id": 270,
    "group_name": "Science",
    "type_id": 11442,
    "name": "Nanite Engineering",
    "published": true
  },
  ...
]

To combine both the initial alpha request and the full list, you could add an attribute for alpha-max: <integer> that would show the maximum level a alpha could have of that skill (0 meaning they can't have it).

sankage commented 7 years ago

Have to revise this. Since the list of skill_type_ids from the groups could have skills that aren't published, changed 3. above to account for the change in endpoint to universe/types and the associated change in requests.

CarbonAlabel commented 6 years ago

Alpha skill lists will soon no longer be race specific (as described in https://community.eveonline.com/news/dev-blogs/clone-states-the-next-steps/), so resolving this should become much easier: the permitted skill levels could simply be listed as an attribute on the skills themselves, at least until more clone states start getting added.

Inomares commented 3 years ago

FYI for anyone stumbling upon this, the data is available (from a third party, me) at https://sde.hoboleaks.space/tq/clonestates.json as a workaround until such a time that an official resource provides it.