Teekeks / pyTwitchAPI

A Python 3.7 compatible implementation of the Twitch API, EventSub, PubSub and Chat
https://pytwitchapi.dev
MIT License
254 stars 38 forks source link

Move EventSub and PubSub Events from raw dict to TwitchObject #256

Closed Teekeks closed 1 year ago

Teekeks commented 1 year ago

To get all parts of the library in line, move the EventSub and PubSub events that are send out from raw dicts to TwitchObject based Classes like twitchAPI results are since v3.

Teekeks commented 1 year ago

After a lot of thought: I will keep PubSub as is for now. Rationale is that PubSub is verry much a stale product set to be eventually fully replaced by EventSub.

Making no massive breaking changes to this feels like the more appropriate approach to this part of the library given these facts.