0.0.4 • Published 4 years ago
gtchecker.js v0.0.4
gtchecker.js
The official https://gtchecker.com API wrapper for Node.js
Installation
Simply run npm i gtchecker.js
(or yarn add gtchecker.js
)
What is GTChecker.js
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.js');
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.js');
const Check = new GTCHECKER('API_TOKEN');
Check.PSN('CHECK_USERNAME').then(result => {
console.log(result);
}).catch((err) => {
console.error(err);
});