Social Media
YouTube Channel Community
List a channel's community posts — post id, text, author, publish time, vote and comment counts, and any attached images — with pagination, as JSON.
POST/api/v1/youtube/channel/community
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_community(channel_id="UCSJ4gkVC6NrvII8umztf0Ow")
print(results)Response
"channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
"next_cursor": "Egljb21tdW5pdHkYuP-",
"has_more": true
},
"response_time": 1094,
"credits_used": 1,
"credits_remaining": 4750
}