PythonistaGuild/TwitchIO

Add "created_at" and "ended_at" parameters when fetching Twitch clips

graille opened this issue · 4 comments

Twitch endpoint to get clips allows the usage of "started_at" and "ended_at" parameters to avoid server and network overload when you only needs clips generated at a specific date.

The TwitchIO method doesn't implement this. So we always have to transfer all the clips of the channel (1500+ in my case) and then, sort them by date afterwards.

Would be nice to add two new parameters to the function.

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.

I believe you meant to link the PartialUser.fetch_clips method?

I believe you meant to link the PartialUser.fetch_clips method?

Yep sorry, I edited my first message

This has been implemented in 4ad023d. Please test and provide feedback if needed.