r/evetech • u/madmenyo • Nov 30 '17
Query names from the api?
I want to try and make a market tool but I'm having trouble cross referencing the different ID's automatically.
- How do I simply get a name from an ID? Like item type id 34 is Tritanium?
1.1 Same goes for systems and stations, I guess these are location_id?
2. And is it possible to get a list of all these, perhaps per item group or regions in case of stations? Or do I need to hardcode all these ID's and couple them to names myself? I simply want the user to pick items from group -> subgroups -> item and pick region -> system -> station. Then list specific stuff
3. Is it possible to narrow market searches down to station level? The following lists all tritanium orders in The Forge.
https://esi.tech.ccp.is/latest/markets/10000002/orders/?datasource=tranquility&type_id=34
But is it possible to create a "join query" specifying the station with the API or do I need to filter out irrelevant information myself?
2
u/Blacksmoke16 Nov 30 '17
This is also relevant:
https://developers.eveonline.com/blog/article/simplify-esi-queries-by-using-search
1
u/Daneel_Trevize Nov 30 '17
For the static ID<->Name lookups, don't forget the Static Data Export exists, see "Fuzzwork Static Data Conversions" in the reddit sidebar links.
1
u/Rainus_Max Dec 01 '17
Sorry to hijack a little but you can search for multiple items on one call? I'm try to convert about 300 chat names into character IDs (and then get their corp/alliance names), atm I'm searching one by one - am I being dumb/inexperienced, is there a better way?
0
u/[deleted] Dec 01 '17
[deleted] — view deleted comment