Liking cljdoc? Tell your friends :D

happygapi.games.turnBasedMatches

Google Play Game Services API: turnBasedMatches. The API for Google Play Game Services. See: https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches

Google Play Game Services API: turnBasedMatches.
The API for Google Play Game Services.
See: https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches
raw docstring

cancel$clj

(cancel$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/cancel

Required parameters: matchId

Optional parameters: none

Cancel a turn-based match.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/cancel

Required parameters: matchId

Optional parameters: none

Cancel a turn-based match.
sourceraw docstring

create$clj

(create$ auth parameters body)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/create

Required parameters: none

Optional parameters: language

Body:

{:autoMatchingCriteria {:exclusiveBitmask string, :kind string, :maxAutoMatchingPlayers integer, :minAutoMatchingPlayers integer}, :invitedPlayerIds [string], :kind string, :requestId string, :variant integer}

Create a turn-based match.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/create

Required parameters: none

Optional parameters: language

Body: 

{:autoMatchingCriteria {:exclusiveBitmask string,
                        :kind string,
                        :maxAutoMatchingPlayers integer,
                        :minAutoMatchingPlayers integer},
 :invitedPlayerIds [string],
 :kind string,
 :requestId string,
 :variant integer}

Create a turn-based match.
sourceraw docstring

decline$clj

(decline$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/decline

Required parameters: matchId

Optional parameters: language

Decline an invitation to play a turn-based match.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/decline

Required parameters: matchId

Optional parameters: language

Decline an invitation to play a turn-based match.
sourceraw docstring

dismiss$clj

(dismiss$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/dismiss

Required parameters: matchId

Optional parameters: none

Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/dismiss

Required parameters: matchId

Optional parameters: none

Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications.
sourceraw docstring

finish$clj

(finish$ auth parameters body)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/finish

Required parameters: matchId

Optional parameters: language

Body:

{:data {:data string, :kind string}, :kind string, :matchVersion integer, :results [{:kind string, :participantId string, :placing integer, :result string}]}

Finish a turn-based match. Each player should make this call once, after all results are in. Only the player whose turn it is may make the first call to Finish, and can pass in the final match state.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/finish

Required parameters: matchId

Optional parameters: language

Body: 

{:data {:data string, :kind string},
 :kind string,
 :matchVersion integer,
 :results [{:kind string,
            :participantId string,
            :placing integer,
            :result string}]}

Finish a turn-based match. Each player should make this call once, after all results are in. Only the player whose turn it is may make the first call to Finish, and can pass in the final match state.
sourceraw docstring

get$clj

(get$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/get

Required parameters: matchId

Optional parameters: includeMatchData, language

Get the data for a turn-based match.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/get

Required parameters: matchId

Optional parameters: includeMatchData, language

Get the data for a turn-based match.
sourceraw docstring

join$clj

(join$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/join

Required parameters: matchId

Optional parameters: language

Join a turn-based match.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/join

Required parameters: matchId

Optional parameters: language

Join a turn-based match.
sourceraw docstring

leave$clj

(leave$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/leave

Required parameters: matchId

Optional parameters: language

Leave a turn-based match when it is not the current player's turn, without canceling the match.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/leave

Required parameters: matchId

Optional parameters: language

Leave a turn-based match when it is not the current player's turn, without canceling the match.
sourceraw docstring

leaveTurn$clj

(leaveTurn$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/leaveTurn

Required parameters: matchId, matchVersion

Optional parameters: language, pendingParticipantId

Leave a turn-based match during the current player's turn, without canceling the match.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/leaveTurn

Required parameters: matchId, matchVersion

Optional parameters: language, pendingParticipantId

Leave a turn-based match during the current player's turn, without canceling the match.
sourceraw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/list

Required parameters: none

Optional parameters: includeMatchData, language, maxCompletedMatches, maxResults, pageToken

Returns turn-based matches the player is or was involved in.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/list

Required parameters: none

Optional parameters: includeMatchData, language, maxCompletedMatches, maxResults, pageToken

Returns turn-based matches the player is or was involved in.
sourceraw docstring

rematch$clj

(rematch$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/rematch

Required parameters: matchId

Optional parameters: language, requestId

Create a rematch of a match that was previously completed, with the same participants. This can be called by only one player on a match still in their list; the player must have called Finish first. Returns the newly created match; it will be the caller's turn.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/rematch

Required parameters: matchId

Optional parameters: language, requestId

Create a rematch of a match that was previously completed, with the same participants. This can be called by only one player on a match still in their list; the player must have called Finish first. Returns the newly created match; it will be the caller's turn.
sourceraw docstring

sync$clj

(sync$ auth parameters)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/sync

Required parameters: none

Optional parameters: includeMatchData, language, maxCompletedMatches, maxResults, pageToken

Returns turn-based matches the player is or was involved in that changed since the last sync call, with the least recent changes coming first. Matches that should be removed from the local cache will have a status of MATCH_DELETED.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/sync

Required parameters: none

Optional parameters: includeMatchData, language, maxCompletedMatches, maxResults, pageToken

Returns turn-based matches the player is or was involved in that changed since the last sync call, with the least recent changes coming first. Matches that should be removed from the local cache will have a status of MATCH_DELETED.
sourceraw docstring

takeTurn$clj

(takeTurn$ auth parameters body)

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/takeTurn

Required parameters: matchId

Optional parameters: language

Body:

{:data {:data string, :kind string}, :kind string, :matchVersion integer, :pendingParticipantId string, :results [{:kind string, :participantId string, :placing integer, :result string}]}

Commit the results of a player turn.

https://developers.google.com/games/services/api/reference/rest/v1/turnBasedMatches/takeTurn

Required parameters: matchId

Optional parameters: language

Body: 

{:data {:data string, :kind string},
 :kind string,
 :matchVersion integer,
 :pendingParticipantId string,
 :results [{:kind string,
            :participantId string,
            :placing integer,
            :result string}]}

Commit the results of a player turn.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close