Closed sabal202 closed 1 year ago
Hello! Thanks for the issue. If this is a general help question, for a faster response consider joining the official Discord Server
Else if you have an issue with the library please wait for someone to help you here.
fixed!
Issues
Background: I wanted to get top live streams by chosen languages.
Issues I encountered:
In TwitchHTTP class function
get_streams
does not providetype
parameter (link).As said in twitch dev reference Get streams have parameter
type
:In Client
fetch_streams
function also does not havetype
parameter, but also introduceassert user_ids or game_ids or user_logins
(link). This assert prohibits use of only languages parameter and none of parameters while twitch API allows that behavior.Possible solution
type: Optional[Literal["all", "live"]] = None
to bothClient.fetch_streams
andTwitchHTTP.get_streams
as argument.Client.fetch_streams
.