@blizzard-api/wow
Version:
A series of helpers to interact with the World of Warcraft Blizzard API
27 lines (26 loc) • 559 B
JavaScript
import { wowBasePath } from "@blizzard-api/core";
//#region src/title/index.ts
/**
* Get a title by ID.
* @param titleId The title ID.
* @returns The title. See {@link TitleResponse}.
*/
function title(titleId) {
return {
namespace: "static",
path: `${wowBasePath}/title/${titleId}`
};
}
/**
* Get a title index.
* @returns The title index. See {@link TitleIndexResponse}.
*/
function titleIndex() {
return {
namespace: "static",
path: `${wowBasePath}/title/index`
};
}
//#endregion
export { title, titleIndex };
//# sourceMappingURL=index.js.map