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 responseI 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.