new Group(agent, groupId)
Create a new Group for the given agent
provider and specific groupId
.
Parameters:
Name | Type | Description |
---|---|---|
agent |
ESIAgent | The agent used to generate web requests |
groupId |
Number | The group id that is used for all requests |
Methods
-
info()
-
Get information on an item group. This route expires daily at 11:05.
This makes an HTTP GET request to
/universe/groups/{group_id}/
. The route version isv1
.On success, this resolves to information about an item group. An example result is:
{ "category_id": 6, "group_id": 25, "name": "Frigate", "published": true, "types": [ 587 ] }
Returns:
A Promise that resolves to the parsed JSON of the response.
- Type
- Promise.<Object>