Social Media
YouTube Channel Videos
List a channel's uploaded videos — video id, title, thumbnail, duration, view count, publish time, and live flag — with pagination, as JSON.
POST/api/v1/youtube/channel/videos
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonchannel_idstringrequiredThe channel id (UC...).
Example: UCSJ4gkVC6NrvII8umztf0Ow
cursorstringPagination cursor from a previous response (next_cursor). Keep passing it while has_more is true.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.youtube.channel_videos(channel_id="UCSJ4gkVC6NrvII8umztf0Ow")
print(results)Response
"channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
"next_cursor": "4qmFsgKZARIYVUNTSjRna1ZDNk5ydklJOHVtenRmME93",
"has_more": true
},
"response_time": 1054,
"credits_used": 1,
"credits_remaining": 4752
}