Info Value
Updated on 6 August 2019
Response format JSON
HTTP Methods GET
Response object Inventory
API Version 1.0

Currency/User/Inventory/List

Returns all a user's items for a certain game, or all their items within a game where the currency is of a specified type.

Parameters

Parameter Type Description
user_token string The user's access token
item_category_id
(optional)
integer The ID of the item category

Response

Returns an array of items, indexed by item ID in the format item_##.

Element Type Description
item_id integer The ID of the item
item_code string The item's code
quantity integer The user's inventory count for the item

Example

Request

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=Currency/User/Inventory/List&user_id=##

https://api.miniclip.com/json/?app_id=##&secret=##&signature=##&method=Currency/User/Inventory/List&item_category_id=##&user_id=##

Sample response

{
	"item_123" : {
		"item_id" : 123,
		"item_code" : "TEST_ITEM",
		"quantity" : 1
	},
	...
}