new Disciplines() → {Disciplines}
An interface for interacting with the Disciplines portion of the GW2 Spidy
REST API.
- Source:
Returns:
- Type
- Disciplines
Methods
-
get(cb)
-
Retrieve the list of disciplines from the GW2 Spidy REST API.
Parameters:
Name Type Description cb
Disciplines~DisciplinesCallback The callback to invoke when done - Source:
Type Definitions
-
DisciplinesCallback(err, response)
-
This callback is invoked when a call to the disciplines endpoint has completed.
Parameters:
Name Type Description err
Error An error or null (no error) response
DisciplinesResponse The list of disciplines - Source: