@blizzard-api/sc2
Version:
A series of helpers to interact with the Starcraft II Blizzard API
13 lines (12 loc) • 332 B
JavaScript
//#region src/account/index.ts
/**
* Returns the player information for the specified account ID.
* @param accountId The account ID
* @returns The player resource. See {@link Resource}.
*/
function player(accountId) {
return { path: `/sc2/player/${accountId}` };
}
//#endregion
export { player };
//# sourceMappingURL=index.js.map