You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To keep the API consistent, this behavior should probably only be added for Helix.user() and not to Helix.users(). This way there is no confusion when an empty user list is requested. Otherwise, an empty user list could return a non-empty result.
The Twitch API returns the user who owns the bearer token when no arguments are provided to
https://api.twitch.tv/helix/users
.This is currently not possible, because of this check:
Twitch-Python/twitch/helix/resources/users.py
Line 44 in 104c0bc
To keep the API consistent, this behavior should probably only be added for
Helix.user()
and not toHelix.users()
. This way there is no confusion when an empty user list is requested. Otherwise, an empty user list could return a non-empty result.I have implemented it here, but it seems a bit hacky:
master...alexf91:current_user
The text was updated successfully, but these errors were encountered: