Skip to navigation

Stream games of users

Stream the games played between a list of users, in real time. Only games where both players are part of the list are included. The stream emits an event each time a game is started or finished. To also get all current ongoing games at the beginning of the stream, use the withCurrentGames flag. Games are streamed as ndjson. Maximum number of users: 300. The method is POST so a longer list of IDs can be sent in the request body.

Query parameters

withCurrentGamesbooleanOptionalDefaults to false
Include the already started games at the beginning of the stream.

Request

Up to 300 user IDs separated by commas. Example: thibault,maia1,maia5

Response

The stream of the games played between the users.