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

Issue With Changing Category for Livestream via YouTube API

$
0
0

I am using the YouTube API to set a category of a livestream. This is what I have so far. When the code runs nothing seems to happen.

    def Setcategory(id, title):       //Rest of the function        request = youtube.videos().update(            body={"id": id,          "snippet": {"title": title,"categoryId": "17"                },            }        )        response = request.execute()        return response

I have already made sure that the correct id is being passed. That did not seem to be the issue.

I would really appreciate some advice on this.Thank you.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



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