The ability to fetch the set of mounts a character has is required.
These mounts are presently contained on a sub-page on the lodestone so require a second GET, to fetch.
Use Case
- As a consumer of the lodestone module I should be able to ask it to fetch a character, and return the ids of all the mounts they have. (Default)
- As a consumer of the lodestone module I should be able to ask it to fetch a character, and return the names of all the mounts they have. (Expand)
- As a consumer of the lodestone module I should be able to ask it to fetch a character but specify not to fetch mounts. (Disabled)
- As a consumer of the lodestone module I should be able to ask it to fetch a character's mounts (either as IDs or expanded names) without fetching the whole character.
Proposed Solution
Other
No modifications to Character.fromPage are required.
This is a 🚀 Feature Request
The ability to fetch the set of mounts a character has is required.
These mounts are presently contained on a sub-page on the lodestone so require a second GET, to fetch.
Use Case
Proposed Solution
lodestoneClient.getCharacter(..)add an options object, with parameterfetchMountNamesof type booleanfetchMountNamesis true in options call invoke the function that fetches and looks up nameslodestoneClient.getCharacter(..)add an options object, with parameterfetchMoundIdsof type booleanfetchMountIdsis true in options call invoke the function that fetches just idsOther
No modifications to
Character.fromPageare required.This is a 🚀 Feature Request