Twitch
Get a Twitch channel's videos (VODs)
Returns a Twitch channel's past-broadcast videos (VODs), ranked by view count: title, view count, length, publish date, and the game it was recorded under.
get/twitch/videos
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/twitch/videos
- Auth: API key in header x-api-key
Query parameters
loginstring required
Twitch channel login (the lowercase URL slug, e.g. lck for twitch.tv/lck)
limitinteger
Number of videos to return (default 20, max 100)
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"count": 20,
"videos": [
{
"game": {
"name": "League of Legends",
"slug": "league-of-legends"
},
"length_seconds": 20818,
"owner": {
"is_partner": true
},
"published_at": "2022-04-02T07:10:16Z",
"view_count": 2800795
}
]
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 3 revisions of this API.