New Twitch API: Get Top Clips Endpoint
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.
Any updates on this? kraken is no longer available and helix still does not have an equivalent endpoint.
Also Jon Bulava's suggestion does not solve the issue because the problem is that the helix Get Clips endpoint requires us to provide a broadcaster id or game id, but the kraken Get Top Clips endpoint can be used without specifying a channel or game to get the top clips across all channels.
With Kraken we could fetch top/trending clips across all channels/games, this is not possible with Helix due the required query parameters. Please let us omit id, broadcaster_id, and game_id to discover clips across all channels.
This is also my understanding of what MrRockis is suggesting, not a lack of a "period" parameter as that could be handle with started_at and ended_at.
The only (non-)alternatives I can think of requires way too many requests (query all games, or channels, and do the sorting ourself).
Somewhat similar discussions
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.