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