Twitch API doesn't give the latest League of Legends Clipls

Hey there,
I use the following link to get the best LoL-Clips from the past 24 hrs to share with my friends.
https://api.twitch.tv/helix/clips?game_id=21779&language=en&sort=views&first=20&started_at=2023-03-21T00:00:00Z&ended_at=2023-03-22T00:00:00Z’ \

Sadly, this doesnt give the same clips, as the twitch channel of League of Legends shows me. Am i doing something wrong ?

You are asking for clips a game.
Not clips of a channel

So the API call your stated will give you results similar to

But your text/body of the post says you want clips from

Thank you for the fast reply. it was my goal to get clips from a game, not from one channel. It seems like you can’t sort with language=en ?

well here you said channel hence the confusion

correct that is not a filter the API supports

To language filter you’d have to do that in code after you retireve the response from the server.

1 Like

Ahh ok, good idea. I can manage that. Thanks !

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.