Skip to content

Releases: Teekeks/pyTwitchAPI

v2.5.4

06 Jun 00:43
Compare
Choose a tag to compare
  • 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

v2.5.3

07 Mar 17:34
Compare
Choose a tag to compare
  • Twitch.get_channel_info now also optionally accepts a list of strings with up to 100 entries for the broadcaster_id parameter

v2.5.2

12 Feb 16:29
Compare
Choose a tag to compare
  • 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

v2.5.1

24 Nov 14:03
Compare
Choose a tag to compare
  • fixed bug that prevented eventsub subscriptions to function if main thread asyncio loop was already running

v2.5.0

15 Oct 16:02
Compare
Choose a tag to compare
  • 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"

v2.4.2

19 Sep 22:09
Compare
Choose a tag to compare
  • Fixed EventSub not keeping local state in sync on unsubscribe
  • Added proper exception if authentication via oauth fails

v2.4.1

17 Sep 18:53
Compare
Choose a tag to compare
  • EventSub now uses a random 20 letter secret by default
  • EventSub now verifies the send signature

v2.4.0

16 Sep 19:31
Compare
Choose a tag to compare
  • Implemented EventSub
  • Marked Webhook as deprecated
  • added the following new endpoints
    • "Get Followed Streams"
    • "Get Polls"
    • "End Poll"
    • "Get Predictions"
    • "Create Prediction"
    • "End Prediction"
    • "Manage held AutoMod Messages"
    • "Get Channel Badges"
    • "Get Global Chat Badges"
    • "Get Channel Emotes"
    • "Get Global Emotes"
    • "Get Emote Sets"
    • "Delete EventSub Subscription"
    • "Get Channel Stream Schedule"
    • "Get Channel iCalendar"
    • "Update Channel Stream Schedule"
    • "Create Channel Stream Schedule Segment"
    • "Update Channel Stream Schedule Segment"
    • "Delete Channel Stream Schedule Segment"
    • "Update Drops Entitlements"
  • Added the following new AuthScopes
    • USER_READ_FOLLOWS
    • CHANNEL_READ_POLLS
    • CHANNEL_MANAGE_POLLS
    • CHANNEL_READ_PREDICTIONS
    • CHANNEL_MANAGE_PREDICTIONS
    • MODERATOR_MANAGE_AUTOMOD
    • CHANNEL_MANAGE_SCHEDULE
  • removed deprecated Endpoints
    • "Create User Follows"
    • "Delete User Follows"
  • Added Topics to PubSub
    • "AutoMod Queue"
    • "User Moderation Notifications"
  • Check if at least one of status or id is provided in get_custom_reward_redemption
  • reverted change that made reward_id optional in get_custom_reward_redemption
  • get_extension_transactions now takes up to 100 transaction ids
  • added delay parameter to modify_channel_information
  • made parameter prompt of create_custom_reward optional and changed parameter order
  • made reward_id of get_custom_reward take either a list of str or str
  • made parameter title, prompt and cost optional in update_custom_reward
  • made parameter redemption_ids of update_redemption_status take either a list of str or str
  • fixed exception in block_user
  • allowed Twitch.check_automod_status to take in more that one entry

v2.3.0

05 Apr 10:25
Compare
Choose a tag to compare
  • Initializing the Twitch API now automatically creates a app authorization (can be disabled via flag)
  • Made it possible to not set a app secret in cases where only user authentication is required
  • added helper function validate_token to OAuth
  • added helper function revoke_token to OAuth
  • User OAuth Token is now automatically validated for correct scope and validity when being set
  • added new "Get Drops Entitlement" endpoint
  • added new "Get Teams" endpoint
  • added new "Get Chattel teams" endpoint
  • added new AuthScope USER_READ_SUBSCRIPTIONS
  • fixed exception in Webhook if no Authentication is set and also not required
  • refactored Authentication handling, making it more versatile
  • added more debugging logs
  • improved documentation

v2.2.5

24 Feb 20:56
Compare
Choose a tag to compare
  • added optional callback to Twitch for user and app access token refresh
  • added additional check for non empty title in Twitch.modify_channel_information
  • changed required scope of PubSub.listen_channel_subscriptions from CHANNEL_SUBSCRIPTIONS to CHANNEL_READ_SUBSCRIPTIONS