1.0.1 • Published 4 years ago
gtchecker v1.0.1
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);
});