1.0.5 • Published 2 years ago

gapple v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Gapple API

A nodejs api wrapper for https://api.gapple.pw

Installation

npm i gapple

Usage

const GappleApi = require('gapple');

/*
    Get status of a minecraft profile
    requires uuid
*/
GappleApi.checkStatus('f30de451a4db4d99aa71e4dea1941080').then(resp => {
    console.log(resp)
});


/*
    Check if uuid is pseudo hard-deleted
    requires uuid
*/
GappleApi.checkPHD('1449546f71de47ebbef8809cd3afd6c6').then(resp => {
    console.log(resp)
});


/*
    Check if a username will be reclaimed
    requires username to check and current account username
    !!!! This example will not work anymore because 
*/
GappleApi.checkReclaim('username_to_check', 'current_account_name').then(resp => {
    console.log(resp)
});


/*
    Check if a username is blocked
    requires username
*/
GappleApi.checkBlocked('animate').then(resp => {
    console.log(resp)
});


/*
    Check user profile
    requires uuid
*/
GappleApi.getUserProfile('f30de451a4db4d99aa71e4dea1941080').then(resp => {
    console.log(resp)
});


/* 
    Check user profile by username
    requires username
*/
GappleApi.getUserProfileByUsername('TheFancyBear').then(resp => {
    console.log(resp)
});


/*
    Get previous usernames
    requires uuid
*/
GappleApi.getUserNames('f30de451a4db4d99aa71e4dea1941080').then(resp => {
    console.log(resp)
});
1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.0

2 years ago