Inspiration

This project stemmed from the need for a streamlined way to interact with the Twitch API. As passionate Twitch users and developers, we saw the potential for a Python library that simplifies tasks and enhances user engagement.

What it does

twitch.py offers a comprehensive interface for accessing Twitch features, including user authentication, stream data retrieval, and chat management. It simplifies Twitch API integration for developers, enabling them to create custom overlays.

How I built it

I used Python's aiohttp library for API calls and WebSockets for event subscriptions. My focus was on making the library easy and simple to use.

Challenges we ran into

We encountered difficulties merging EventSub and Helix API data due to structural differences. This led me to return data as JSON instead of class methods. Additionally, some documentation was unclear, and certain endpoints couldn't be tested without partner or affiliate status.

Accomplishments that we're proud of

We developed a user-friendly interface that simplifies the complexities of the Twitch API.

What we learned

I gained valuable experience in managing a project on GitHub, creating comprehensive documentation, implementing effective changes, and prioritizing security throughout the development process.

What's next for twitch.py

Looking ahead, I have many ideas, especially exploring integration with Conduit, which could be a game changer for the library. However, it currently requires some tweaks from Twitch developers to be feasible.

For more info, visit twitchpy documentation.

Built With

Share this project:

Updates