🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

geometry-dash-wrapper

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

geometry-dash-wrapper

Geometry Dash wrapper

1.0.3-rc.2
unpublished
latest
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

geometry-dash-wrapper

Geometry Dash wrapper

geometry-dash-wrapper is a module that is wrapping Geometry Dash and getting data from it. Based on Fakeman Cat's code

Usage

let GD = require('geometry-dash-wrapper');

let gd = new GD({
  username: 'nitrojs',
  password: '31D9A62f5a4785',
});

await gd.login();

/* ... */

let michigun = await gd.api.getUser('Michigun'); // => Promise<User>

API

getUser

let nitrojs = await gd.api.getUser('nitrojs'); // => Promise<User>

Parameters:

KeyDescription
nicknameUser's nickname

getUserById

let michigun = await gd.api.getUserById(34499); // => Promise<User>

Parameters:

KeyDescription
idUser's account ID

getLevel

let level = await gd.api.getLevel(28880191); // => Promise<Level>

Parameters:

KeyDescription
idLevel's ID
paramsOptional parameters

findUsers

let users = await gd.api.findUsers('michi'); // => Promise<Responses.IFindUsersResponse>

Parameters:

KeyDescription
nickUser's nickname
pagePage

findLevels

let levels = await gd.api.findLevels('Bloodbath', { difficulty: 'demon' }); // => Promise<Responses.IFindLevelsResponse>

Parameters:

KeyDescription
nameLevels's name
paramsOptional parameters

FAQs

Package last updated on 11 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts