esi-issues icon indicating copy to clipboard operation
esi-issues copied to clipboard

Bulk ticker endpoint

Open CarbonAlabel opened this issue 8 years ago • 7 comments

An endpoint similar to /universe/names/ for retrieving corporation/alliance tickers in bulk might be useful.

CarbonAlabel avatar Apr 25 '17 22:04 CarbonAlabel

i would like to see the ticker added to /alliances/names/ as referenced.

Risingson avatar May 05 '17 20:05 Risingson

if you do not want to add it to /alliances/names/ maybe do a /alliances/tickers/ endpoint returning only alliance_id and alliance_ticker ?

Risingson avatar Sep 20 '17 14:09 Risingson

Can you provide a use case for this? Is there anywhere from API/client that you can copy a list of tickers instead of alliance ids and/or alliance names?

We're not against this but 1. this has to be delayed until parity is done 2. having a solid use case would help us set the priority.

aquarhead avatar Sep 20 '17 15:09 aquarhead

I do a client-side map application. The app fetches sov structures (esi) and compiles a list of the alliance_ids holding them ready to be fed to /alliances/names/. I switched nearly all api calls to esi but still use the xml-api to display the alliance names and the ticker (shortName) for identification on the maps.

/eve/AllianceList.xml.aspx?version=1 <row name="Goonswarm Federation" shortName="CONDI" allianceID="1354830081" executorCorpID="1344654522" memberCount="16042" startDate="2010-06-01 05:36:00">

I get name and shortName with a single call. In my use-case having to fetch every single esi /alliances/{alliance_id}/ just to get the shortName is unnecessary bytes on the wire, delays and hurts user experience at app startup and just doesn't feel right as the ticker is a name aswell hence belonging to the /alliances/names/ endpoint imo.

Screenshot: https://imgur.com/YsDEc00 Link: https://eveeye.com/?m=Delve&s=W-KQPI&t=sov

Risingson avatar Sep 20 '17 20:09 Risingson

@aquarhead Just the tickers? No. However, corporate/alliance tickers are crucial parts of their identity, just as important as the name itself. I can think of a couple of corps which are almost exclusively referred to by their tickers.

This is very much a convenience endpoint, so I don't have a problem with it being delayed, but I'd still say it's a pretty important one. For a specific use case: client side local scan tool, entirely relying on ESI - for busier systems, could replace dozens or hundreds of calls with a single one. Just about any application which displays corporation and alliance affiliations of pilots would find this a significant QoL improvement.

CarbonAlabel avatar Sep 20 '17 20:09 CarbonAlabel

I too would like this to match the bulk alliance id to name

Slazanger avatar Sep 20 '17 21:09 Slazanger

Yeah, sorry, was thinking bulk ticker -> alliance id for some reason, a bulk id -> ticker should be useful for many cases.

aquarhead avatar Sep 20 '17 22:09 aquarhead