Twitchapi

Latest version: v4.4.0

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 9

2.5.4

:color: info

- Added the following new endpoints:

- "Ban User"

- "Unban User"

- "Get Blocked Terms"

- "Add Blocked Term"

- "Remove Blocked Term"

- Added the following Auth Scopes:

- `moderator:manage:banned_users`

- `moderator:read:blocked_terms`

- `moderator:manage:blocked_terms`

- Added additional debug logging to PubSub
- Fixed KeyError when being rate limited

2.5.3

- `Twitch.get_channel_info` now also optionally accepts a list of strings with up to 100 entries for the `broadcaster_id` parameter

2.5.2

:color: info

- Added the following new endpoints:

- "Get Chat Settings"
- "Update Chat Settings"

- Added Auth Scope "channel:manage:chat_settings"
- Fixed error in Auth Scope "channel:manage:schedule"
- Fixed error in Endpoint "Get Extension Transactions"
- Removed unusable Webhook code

2.5.1

- Fixed bug that prevented EventSub subscriptions to work if main threads asyncio loop was already running

2.5.0

:color: info

- EventSub and PubSub callbacks are now executed non blocking, this fixes that long running callbacks stop the library to respond to heartbeats etc.
- EventSub subscription can now throw a TwitchBackendException when the API returns a Error 500
- added the following EventSub topics (thanks d7415!)

- "Goal Begin"
- "Goal Progress"
- "Goal End"

2.4.2

- Fixed EventSub not keeping local state in sync on unsubscribe
- Added proper exception if authentication via oauth fails

Page 6 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.