Git Product home page Git Product logo

gtcheckerapi's Introduction

Codacy Badge 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

(Basic)

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);
});

Technical Usage

(Advanced)

Getting Xbox Result w/ Custom User-Agent & Referer Link:

const GTCHECKER = require('gtchecker');
const Check = new GTCHECKER('API_TOKEN', 'BOT_USERNAME/WEBSITE', 'REFERAL_LINK');

Check.Gamertag('CHECK_USERNAME').then(result => {
    console.log(result);
}).catch((err) => {
    console.error(err);
});

Getting PSN Result w/ Custom User-Agent & Referer Link:

const GTCHECKER = require('gtchecker');
const Check = new GTCHECKER('API_TOKEN', 'BOT_USERNAME/WEBSITE', 'REFERAL_LINK');

Check.PSN('CHECK_USERNAME').then(result => {
    console.log(result);
}).catch((err) => {
    console.error(err);
});

License

MIT

Credits

Joker

VB

Copyright Footer

© 2020 GTCHECKER.COM, ALL RIGHTS RESERVED.

gtcheckerapi's People

Contributors

codacy-badger avatar gtchecker avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.