esi-issues
esi-issues copied to clipboard
Feature request: Ability to convert unit_id from Dogma attributes to a unit of measurement
Feature request
The endpoint /dogma/attributes/{attribute_id}/
provides a value unit_id
, which is an integer. There is currently no way to translate this integer into an actual unit of measurement with ESI.
Use case
Ability to display value of a Dogma attribute in a meaningful way, for example if it's referring to mass, velocity, or percentage.
Example returns
{
"unit_id": 2,
"name": "Kilogram",
"display_name": "kg"
},
{
"unit_id": 114,
"name": "Gigajoules",
"display_name": "GJ"
}
Previous XML or CREST route
None
+1 for this endpoint. It would help out fitting tools a lot
Three years later we don't have simple end point for units. And don't have eveUnits.yaml
anymore in SDE.
Three years later we don't have simple end point for units. And don't have
eveUnits.yaml
anymore in SDE.
https://sde.hoboleaks.space/tq/dogmaunits.json 3rd party resource in the meanwhile, but I am guessing CCP will eventually re-add this file to SDE.