Get clips wrong parameters
ThisisDaan opened this issue · comments
I'm getting an error 500 when trying to get a specific clip by id. I noticed that you've named it "clip_id" while in the helix api on Twitch it's just "id"
https://dev.twitch.tv/docs/api/reference#get-clips
twitch.py
param = { "broadcaster_id": broadcaster_id, "game_id": game_id, "clip_id": clip_id, "after": after, "before": before, "first": first, "ended_at": datetime_to_str(ended_at), "started_at": datetime_to_str(started_at), }
The following fixed the issue:
param = { "broadcaster_id": broadcaster_id, "game_id": game_id, "id": clip_id, "after": after, "before": before, "first": first, "ended_at": datetime_to_str(ended_at), "started_at": datetime_to_str(started_at), }
Not sure if this is the right project. Might have someone else's library.