1.0.3 • Published 1 year ago

xbox_gamerscore v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago