Add period to getClips() endpoint to get top all/month/week
This is a copy paste from a previous user:
MrRockis shared this idea · June 21, 2020
"Old Twitch v5 API has an endpoint called "Get Top Clips" (https://dev.twitch.tv/docs/v5/reference/clips#get-top-clips)
I think the new API should also include this endpoint because the current way of getting the top clips is not exactly the most user friendly one. Currently if you want to get top clips, you need to get all clips using the "Get Clips" endpoint and then sort them out manually on our side. This works if you know exactly what you want. For example if you want top clips for a game you can use the game parameter.
Unfortunately this isn't the most optimal way to get top clips all over twitch. With the current endpoint if I would like to get top clips within the last week I would need to get ALL clips within a week and then sort them out myself. We all know how popular twitch clips are, and because of this there would be million twitch clips a week?
With the old v5 API we can instantly get the most popular clips by not specifying the game or the broadcaster. I personally think this endpoint is a must for us. For myself I'm currently stuck with v5 because I simply cannot get top clips from all over Twitch.
Thanks!"
And this is the answer of a twitch dev:
Jon Bulava (Developer Relations, Twitch) commented · September 28, 2020 18:51
"Hi MrRockis, it sounds like adding the "period" parameter that was available in v5 to the "Get Clips" endpoint in the latest API would satisfy this request. Let me know if that is not a correct assumption."
My question is: Can we get this support into the API. I want to be able to get top all/month/week. The new api doesn't support this, we now need to do 100's of requests to get top clips which is quite bad.
Greetings,
Max