getAllVideos
fun getAllVideos(ids: List<String> = emptyList(), userId: String? = null, gameId: String? = null, language: String? = null, period: VideoPeriod? = null, sort: VideoSort? = null, type: VideoType? = null): Flow<Video>
Gets all published videos matching the filter criteria. Automatically paginates through all results.
Return
a Flow of Video objects.
Parameters
ids
a list of IDs that identify the videos you want to get. You may specify a maximum of 100 IDs.
userId
the ID of the user whose list of videos you want to get.
gameId
a category or game ID.
language
a filter used to filter the list of videos by the language that the video owner broadcasts in.
period
a filter used to filter the list of videos by when they were published. Possible values: all, day, month, week. Default: all.
sort
the order to sort the returned videos in. Possible values: time, trending, views. Default: time.
type
a filter used to filter the list of videos by the video's type. Possible values: all, archive, highlight, upload. Default: all.