gtchecker

1.0.1 • Public • Published

NPM

gtchecker

The official GTCHECKER API wrapper for Node.js

Installation

Simply run npm i gtchecker (or yarn add gtchecker)

What is GTChecker (Node Module)

It's a nodejs module designed to interact with our website GTChecker.com Which is a fully customized Gamertag & PSN Username checker website + Discord bot,

It's purpose is simply to check if your desired username is available on either platform, This project was developed simply from a Discord.js Bot Command, Mainly made for Educational Research and studying the functionality of Express.js With other features such as SQLite3.

Usage

(Sync)

Getting Xbox Result:

const GTCHECKER = require('gtchecker');
const Check = new GTCHECKER('API TOKEN');
 
Check.Gamertag('CHECK_USERNAME').then(result => {
    console.log(result);
}).catch((err) => {
    console.error(err);
});

Getting PSN Result:

const GTCHECKER = require('gtchecker');
const Check = new GTCHECKER('API_TOKEN');
 
Check.PSN('CHECK_USERNAME').then(result => {
    console.log(result);
}).catch((err) => {
    console.error(err);
});

License

MIT

Credits

Joker

VB

Package Sidebar

Install

npm i gtchecker

Weekly Downloads

7

Version

1.0.1

License

MIT

Unpacked Size

7.77 kB

Total Files

5

Last publish

Collaborators

  • gtchecker.com