new Bloodlines(agent)
Create a new Bloodlines function using the given agent
.
Parameters:
Name | Type | Description |
---|---|---|
agent |
ESIAgent | The ESI agent |
Methods
-
all()
-
Get a list of bloodlines. This route expires daily at 11:05.
This makes an HTTP GET request to
/universe/bloodlines/
. The route version isv1
.On success, this resolves to a list of bloodlines. An example result is:
[ { "bloodline_id": 1, "charisma": 6, "corporation_id": 1000006, "description": "The Deteis are regarded as ...", "intelligence": 7, "memory": 7, "name": "Deteis", "perception": 5, "race_id": 1, "ship_type_id": 601, "willpower": 5 } ]
Returns:
A Promise that resolves to the parsed JSON of the response.
- Type
- Promise.<Array.<Object>>