xbox_gamerscore
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

xbox_gamerscore

A function to find the Gamerscore from a Gamertag

Module installation

With NPM

npm i xbox_gamerscore

With Yarn

yarn add xbox_gamerscore

With PNPM

pnpm add xbox_gamerscore

Example code

Importing the module

const gamerScore = require("xbox_gamerscore");

Retrieving the gamerScore

gamerScore
  .search("hello")
  .then((gameScore) => {
    console.log(gameScore); // -> 515
  })
  .catch((reason) => {
    console.error(reason);
  });

Retrieving the gamerScore with asyncronous code

console.log(await gamerScore.search("hello")); // -> 515

Readme

Keywords

Package Sidebar

Install

npm i xbox_gamerscore

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

4.04 kB

Total Files

7

Last publish

Collaborators

  • moskalyka