gddocs
gddocs copied to clipboard
Most request examples dosen't use www
Boomlings servers require to use www, however in most examples, it's uses no www
Example:
(https://wyliemaster.github.io/gddocs/#/endpoints/levels/getGJLevelScoresPlat)
import requests
data = {
"accountID": 173831, # DevExit's account ID
"gjp": "********", # This would be DevExit's password encoded with GJP encryption
"levelID": 98170000,
"type": 1, # Leaving this out would only show friends. This shows global.
"secret": "Wmfd2893gb7"
}
req = requests.post("http://boomlings.com/database/getGJLevelScoresPlat.php", data=data)
print(req.text)
How it should be:
import requests
data = {
"accountID": 173831, # DevExit's account ID
"gjp": "********", # This would be DevExit's password encoded with GJP encryption
"levelID": 98170000,
"type": 1, # Leaving this out would only show friends. This shows global.
"secret": "Wmfd2893gb7"
}
req = requests.post("http://www.boomlings.com/database/getGJLevelScoresPlat.php", data=data)
print(req.text)
By doing a search-replace it could be easily fixed though
Will likely do in a few days a pr fixing some issues I found