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