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 args)

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.
raw docstring

create$clj

(create$ auth args 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.
raw docstring

decline$clj

(decline$ auth args)

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.
raw docstring

dismiss$clj

(dismiss$ auth args)

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.
raw docstring

finish$clj

(finish$ auth args 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.
raw docstring

get$clj

(get$ auth args)

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.
raw docstring

join$clj

(join$ auth args)

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.
raw docstring

leave$clj

(leave$ auth args)

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.
raw docstring

leaveTurn$clj

(leaveTurn$ auth args)

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.
raw docstring

list$clj

(list$ auth args)

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.
raw docstring

rematch$clj

(rematch$ auth args)

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.
raw docstring

sync$clj

(sync$ auth args)

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.
raw docstring

takeTurn$clj

(takeTurn$ auth args 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.
raw docstring

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

× close