Closed ccppoo closed 2 years 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.
We have not received a concrete date for removal of this field yet, and as such nothing has been pushed by our team, as we have bigger fish to fry. feel free to turn this into a PR if you'd like to see this implemented faster! As for your second suggestion, this would be best suited to be in the docs, not a warning every time the attribute is accessed.
As this library follows semver principals, we cannot remove or modify this field in the current major version of the lib, although it will be done for our 3.0 release, whenever that happens in the distant future. If you'd like to see a warning in the docs, consider opening a pull request (you can do both in 1 pr).
This has been addressed in e59a4f36306461955049809e368c5ef871a0f785
https://github.com/TwitchIO/TwitchIO/blob/114950a731290cff9a2b8c7cfd7b101f3eafc6af/twitchio/user.py#L1494-L1525
https://discuss.dev.twitch.tv/t/get-users-api-endpoint-view-count-deprecation/37777
from twitch developers
view count
field response from Endpointhttps://api.twitch.tv/helix/users
Not
https://api.twitch.tv/helix/clips
before version update, this part
https://github.com/TwitchIO/TwitchIO/blob/114950a731290cff9a2b8c7cfd7b101f3eafc6af/twitchio/user.py#L1522
should be
or add