The level's position in the leaderboard. Note this will only exist if the
The pretty representation of the award
The raw numeric representation of the award. 0 = none, 1 = star, 2 = feature, 3 = epic. Note this is also the amount of creator points earned from the level
A search configuration
The award to filter levels by. 2 = Feature, 3 = Epic. Can also pass string value.
Whether to only get levels with coins
Whether the level to search for should be a demon. This will modify the behavior of the difficulty option.
Difficulty level of levels to get. -1 = N/A, 0 = Auto, 1 = Easy, 2 = Normal, 3 = Hard, 4 = Harder, 5 = Insane. If searching for demons, 0 = Any, 1 = Easy, 2 = Medium, 3 = Hard, 4 = Insane, 5 = Extreme
The lengths of the levels to get. Can pass a length ID, its pretty name, or an array containing lengths to get.
How to order the levels. Some values currently unsupported. Can pass either a sorting ID or its pretty name. Misconfiguration of this setting will yield no results.
Whether to only get original levels
The search query string, number (for level ID) or array of numbers (for multiple level IDs)
Whether to only get levels with two-player support
A level's coins
Whether the coins are silver coins or not. Only exists if the level has coins
The number of coins in the level
The colors in a Geometry Dash user's profile
Configuration for the GD Client
The URL to use as a CORS proxy when making requests from a browser. Note it should have a trailing slash.
The URL for the database. Defaults to http://www.boomlings.com/database.
The fetch polyfill to use. Only necessary when fetch is not supported in the target environment. Defaults to node-fetch (if installed)
The level of logging. 2 = verbose, 1 = warnings, 0 = off. Defaults to 1.
Types that can be converted to an account ID
Credentials to use in requests to Geometry Dash servers
The player's account ID
The player's password, XOR-encrypted
The player's username
A level's difficulty
The difficulty level as a pretty string
The difficulty level as a number. -1 = N/A, 0 = Auto, 1 = Easy, 2 = Normal, 3 = Hard, 4 = Harder, 5 = Insane. If demon (i.e. the number of stars is 10), 1 = Easy, 2 = Medium, 3 = Hard, 4 = Insane, 5 = Extreme
Full data for a level
A color used by a Geometry Dash player.
The color in hexadecimal notation
The raw color number, as returned by the server
A date from the Geometry Dash servers
The time as a date. Note that this may not be completely accurate.
The human-readable time in the "how long ago" format.
Parsed data returned from Geometry Dash requests
An icon type
A level's raw data
The raw level string after decoding and decompressing. Only offered because gd.js
is not primarily a level API, so this can be passed to your own manipulation program.
The length of a level
The prettified length (as shown in the actual game)
The raw numeric length
The player's account ID
The player's user ID
The player's username
A parsed response from the Geometry Dash servers
A parsed Geometry Dash level object
A permission level for a Geometry Dash player.
A prettified string for the permission level. One of "User", "Moderator" or "Elder Moderator"
The raw permission number, as returned by the server. 0 = user, 1 = mod, 2 = elder mod.
Configuration for a request to the GD servers
The parameters for the request
The method for the request
A social media platform that a Geometry Dash player uses
The full URL path to the player's social media
The path to the player's social media from the platform's base URL
The social media platforms a Geometry Dash player uses
Credentials provided by a user
The player's password
The player's username
Generated using TypeDoc
A level's award