# wx.getGroupCloudStorage(Object object)
Start from base library version 1.9.92. Please remaining backward compatible.
Gets the game data of group members who play the same game. This API can only be called when the Mini Game is opened from the group sharing card. This API is only available in the open data domain.
# Parameters
# Object object
Attribute | Type | Default | Required | Description |
---|---|---|---|---|
shareTicket | string | Yes | The shareTicket of the group sharing card | |
keyList | Array.<string> | Yes | The list of keys to be obtained | |
success | function | No | The callback function for a successful API call | |
fail | function | No | Callback function for failed API call | |
complete | function | No | Callback function used when API call completed (always executed whether call succeeds or fails) |
# object.success callback function
# Parameters
# Object res
Property | Type | Description |
---|---|---|
data | Array.<UserGameData> | The hosted data of group members who play the same game |