Socket
Socket
Sign inDemoInstall

geometry-dash-wrapper

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    geometry-dash-wrapper

Geometry Dash wrapper


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 11 May 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc