Info Value
Updated on18 September 2018
Response formatJSON
HTTP MethodsGET
Response objectData
API Version1.0

CustomGameUserData/GhostRunData/List

Retrieve ghost run data

Parameters

Parameter Type Description
game_id integer The ID of the game
level integer The level of the game
random integer (OPTIONAL) If you want the results to be random or not. (default:false)
limit integer (OPTIONAL) How many items to return. (default: 10)
lek integer (OPTIONAL) The last evaluated key in order to do pagination
user_ids array (OPTIONAL) A list of users to get the ghost run data from
low_score float (OPTIONAL) A float between 0 to 1 to return a list of users with score between low_score and top_score
top_score float (OPTIONAL) A float between 0 to 1 to return a list of users with score between low_score and top_score

Response

Element Type Description

Example

Request

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=CustomGameUserData/GhostRunData/List&user_ids=##&game_id=##&level=##

Sample response

{
game_id : 1,
level : 1,
list:[
	{
		"user_id" : 1,
		"score"	: 200,
		"ghost_run_data" : null
	},
	{
		"user_id" : 5,
		"ghost_run_data" : "{"a":"b","c":{"asd":"gg"}}"
	}
],
"code":0
}