Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3718

Report abuse YT channel via API call

$
0
0

I have read youtube API docs and I am unable to find how to report a channel. I have found only endpoint responsible for reporting videos https://developers.google.com/youtube/v3/docs/videos/reportAbuse. Is it possible to create function like mine, but to report not videos, but channel based on its id?

def yt_report_livestream(video_id):    URL = f"https://youtube.googleapis.com/youtube/v3/videos/reportAbuse?alt=json"    payload = {"videoId": video_id,"comments": "Scam","reasonId": "S","secondaryReasonId": "31",    }    payload_json = json.dumps(payload)    response = requests.post(        url=URL,        data=payload_json,        headers=OAUTH_HEADER,        proxies=proxyDict,        verify=False,    )

Viewing all articles
Browse latest Browse all 3718

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>