rateGJDemon21.php
Rates the demon difficulty of a demon level - only works for Geometry Dash moderators
Parameters
| Parameter | Explanation | Required |
|---|---|---|
gameVersion | A number representing the game's version. The current value is 22 for 2.2 | Yes |
binaryVersion | A number representing the game's small version. The current value is 47 for 2.2081 on PC and 48 for 2.208 on mobile | Yes |
secret | Moderator Secret: Wmfp3879gc3 | Yes |
accountID | The player's account ID (not to be confused with user ID). Used for authorization | Yes |
gjp2 | The player's account password, encoded with GJP2. Used for authorization | Yes |
levelID | The ID of the demon being rated | Yes |
rating | 1 for Easy Demon, 2 for Medium Demon, 3 for Hard Demon, 4 for Insane Demon and 5 for Extreme Demon | Yes |
udid | The player's UDID (Unique Device Identifier). Used to identify unregistered users | |
uuid | In modern versions, this is sent as the user ID. See the previous format here | |
dvs | A number added in 2.208 representing the device the player is using. Corresponds to the Cocos2d CC_TARGET_PLATFORM macro: 1 for iOS, 2 for Android, 3 for Windows, 8 for macOS |
Response
For normal Players: Internal Server Error or -1
if mode=1
mod: levelID
normal user: -2
Example
Python - normal Players
py
import requests
headers = {
}
data = {
"secret": "Wmfp3897gc3",
"levelID": 3979721,
"rating": 5
}
req = requests.post('https://www.boomlings.com/database/rateGJDemon21.php', headers=headers, data=data)
print(req.text)Response
py
-1Python - Moderators
py
import requests
headers = {
}
data = {
"gameVersion": 21,
"binaryVersion": 35
"accountID": 71,
"gjp2": *********, #the GJP of the moderator
"secret": "Wmfp3897gc3",
"levelID": 4284013,
"rating": 3
}
req = requests.post('https://www.boomlings.com/database/rateGJDemon21.php', headers=headers, data=data)
print(req.text)Response
py
4284013