node-geometry-dash
1.1.4 • Public • Published node-geometry-dash
A node.js module for searching for levels, accounts, getting songs, and the leaderboards of the game Geometry Dash
How to install:
npm install node-geometry-dash
How to use:
const GDClient = require("node-geometry-dash");
const GD = new GDClient({
username: "...",
password: "..."
});
GD.levels("Bloodbath").then( levels => {
console.log(levels[0])
});
GD.users("AnnoyingDog87").then( users => {
console.log(users[0])
});
Objects
Level object
Key |
Description |
Example |
name |
The level name |
Bloodbath |
id |
The level id |
10565740 |
song |
A song object |
{...} |
difficulty |
The level difficulty |
Demon |
downloads |
The amount of downloads the level has |
1530678 |
likes |
The amount of likes the level has |
275137 |
stars |
The amount of stars the level has |
10 |
featured |
If the level is featured or not |
true |
description |
The level description |
Whose blood will be spilt in the Bloodbath? Who will the victors be? How many will survive? Good luck... |
length |
The level length |
XL |
coins |
The amount of coins the level has |
0 |
version |
The level version |
1 |
verifiedCoins |
If the level has user coins or not |
false |
requestedStars |
The amount of stars the level owner requested |
0 |
User object
Key |
Description |
Example |
username |
The user's username |
AnnoyingDog87 |
id |
The user's id |
13506210 |
coins |
The user's secret coins |
45 |
userCoins |
The user's secret coins |
244 |
stars |
The amount of stars the user has |
972 |
demons |
The amount of demons the user has |
12 |
creatorPoints |
The amount of creator points the user has |
0 |
extID |
The user's extID (???) |
0 |
Mappack object
Key |
Description |
Example |
name |
The mappack name |
Alpha Pack |
id |
The mappack id |
67 |
levels |
An array with all the 3 mappack levels |
[...] |
stars |
The amount of stars the mappack has |
2 |
coins |
The amount of coins the mappack has |
1 |
difficulty |
The mappack difficulty |
Easy |
rgb |
The mappack color (rgb) |
[...] |
Account Comment
Key |
Description |
Example |
comment |
The comment content |
"..." |
likes |
The amount of likes the comment has |
1 |
date |
The time the comment was posted |
1 second ago |
commentID |
The comment id |
0 |
Level Comment
Key |
Description |
Example |
comment |
The comment content |
"..." |
username |
The author's username |
AnnoyingDog87 |
userID |
The author's id |
1 |
likes |
The amount of likes the comment has |
1 |
date |
The time the comment was posted |
1 second ago |
commentID |
The comment id |
0 |
Made by AnnoyingDog87
Package Sidebar
Install
Weekly Downloads