import requests# This code retrieves DevExit's most liked commentsdata = { "userID": 3935672, # DevExit's player ID "page": 0, "mode": 1, # This can be left out and will default to 0 "secret": "Wmfd2893gb7"}req = requests.post("http://boomlings.com/database/getGJCommentHistory.php", data=data)print(req.text)
getGJCommentHistory.php
Gets a user's comment history.
Parameters
Required Parameters
userID - The player ID of the user. This is different from the account ID.
page - Which page of comments you want to see
secret - Wmfd2893gb7
Optional Parameters
gameVersion - 21
binaryVersion - 35
gdw - 0
mode - Set to 0 for most recent, and 1 for most liked
total - Current use is unknown, defaults to the amount of comments the user has, but leaving it as 0 works.
Response
Returns a list of comment objects separated by a pipe
|.Example
Python
Response