class Metagame extends Resource (View source)

The "metagame" collection of methods.

Typical usage is:

 $gamesService = new Google\Service\Games(...);
 $metagame = $gamesService->metagame;

Methods

getMetagameConfig(array $optParams = [])

Return the metagame configuration data for the calling application.

listCategoriesByPlayer(string $playerId, string $collection, array $optParams = [])

List play data aggregated per category for the player corresponding to playerId. (metagame.listCategoriesByPlayer)

Details

MetagameConfig getMetagameConfig(array $optParams = [])

Return the metagame configuration data for the calling application.

(metagame.getMetagameConfig)

Parameters

array $optParams

Optional parameters.

Return Value

MetagameConfig

Exceptions

Exception

CategoryListResponse listCategoriesByPlayer(string $playerId, string $collection, array $optParams = [])

List play data aggregated per category for the player corresponding to playerId. (metagame.listCategoriesByPlayer)

Parameters

string $playerId

A player ID. A value of me may be used in place of the authenticated player's ID.

string $collection

The collection of categories for which data will be returned.

array $optParams

Optional parameters.

Return Value

CategoryListResponse

Exceptions

Exception