youtube-data-api

Upvote Youtube Comment With API

混江龙づ霸主 提交于 2019-12-24 16:05:34
问题 Hello guys i was reading google youtube data api But i did not found any way to upvote or like the comment on video. anyone have any info on this Thanks 回答1: I think it's safe to conclude this feature does not exist for the following reasons, The otherwise thorough API documentation makes no mention of this feature. I highly doubt youtube/google would forget to document a feature. This question has been asked several times before on SO; all of which have no accepted answer (1, 2, 3). With the

Can't create replies to some existing youtube comments

戏子无情 提交于 2019-12-24 11:34:10
问题 I have a software, which allows you to create a reply to a comment on your youtube video. Therefore I use the youtube API v3 comments.insert method. POST https://www.googleapis.com/youtube/v3/comments?part=id%2Csnippet&access_token=[access_token] { "snippet": { "parentId": "parentId", "textOriginal": "test message" } } Most of the time the requests are successful. But for some comments I can't create replies this way. The API always returns: { "error": { "errors": [ { "domain": "youtube

How to check live stream information of a youtube channel without using Search.list from youtube data api?

天涯浪子 提交于 2019-12-24 10:24:11
问题 Basically, I want to check if several channels are streaming now without using Search.list . I used Search.list from youtube data APIenter link description here, but I found this method was really costly. As the page says, "A call to this method has a quota cost of 100 units." So it's extremely easy to reach the limit every day. I have searched for hours to find another method that can provide live stream status of a particular channel. There must be something I have missed because when I

“Login Required” error when trying to create live broadcast using YoutubeV3 API

左心房为你撑大大i 提交于 2019-12-24 10:12:07
问题 I am trying to create a new broadcast using google-api-ruby-client YT = Google::Apis::YoutubeV3 client = YT::YouTubeService.new client.key = 'my-api-key-here' metadata = { snippet: { title: 'test', scheduled_start_time: '2018-02-23T14:50:00.000Z' }, status: { privacy_status: 'public' } } part = 'snippet' client.insert_live_broadcast(part, metadata, {}) When I execute this code I am getting Error -# <Google::Apis::AuthorizationError: Unauthorized> [5] pry(main)> CreateYoutubeBroadcast.execute

Related Videos with part contentDetails and Statistics - Youtube API V3

回眸只為那壹抹淺笑 提交于 2019-12-24 08:23:10
问题 I'm having a problem with retrieving related videos as thumbnails towards a specific video. In my code, I have the search->list set up correctly and returns the different titles and thumbnail URLs for the related videos. However, since search->list doesn't have parameter contentDetails or statistics , I found another question related to my exact same problem here and used a secondary call for getting videos->list since it supports those parameters to be able to retrieve the duration and view

Using YouTube v3 API to retrieve a list of videos for a channel without live events

大城市里の小女人 提交于 2019-12-24 07:59:02
问题 I am using the YouTube v3 API to retrieve a list of videos using this URL: https://www.googleapis.com/youtube/v3/search?key=[APIKEY]&channelId=[ChannelID]&part=snippet,id&order=date&type=video&maxResults=25 However, YouTube includes upcoming live broadcast results for this query. The live results can be place-holder the author puts days in advance and don't contain any real content so I rather not show them to the users. I could filter the live results in my code, but I would rather the user

Search for single youtube video with keywords

你离开我真会死。 提交于 2019-12-24 07:38:33
问题 I am creating a web app that requests a search to the youtube data api using keyword to then return the video id of the most popular video, i have successfully done this by sending a get request to 'https://www.googleapis.com/youtube/v3/search' although i then soon realised that each search request uses up 100 quotas when i have a limit of 10,000 so my question is, is is there an alternative method to get the same result im looking for? and if not how can i increase my quotas limit and how

Most popular youtube videos from Youtube API

痞子三分冷 提交于 2019-12-24 07:24:08
问题 I am trying to get popular YouTube videos data using python. While I can successfully download the data, I cannot store it or save it in csv format. Here is the code I used: # -*- coding: utf-8 -*- import os import google.oauth2.credentials import google_auth_oauthlib.flow from googleapiclient.discovery import build from googleapiclient.errors import HttpError from google_auth_oauthlib.flow import InstalledAppFlow CLIENT_SECRETS_FILE = "client_secret.json" SCOPES = ['https://www.googleapis

YouTube Live API Stream Status and Quality Callback

丶灬走出姿态 提交于 2019-12-24 05:12:58
问题 In the "Live Control Room" of a YouTube Live broadcast, I can see a "Stream Status" view which shows me details of the video being sent to YouTube's RTMP endpoint. I hit the liveStreams endpoint to get the "status" of the stream, but that only returns active , meaning that the video stream is being successfully sent to YouTube's RTMP endpoint, but no information about video data or quality. Is this information exposed somewhere in the API? Can I also see additional details about the video,

How to fix Youtube API results title that are returned encoded

五迷三道 提交于 2019-12-24 04:26:12
问题 I'm using youtube-search 1.1.4 to find videos. The problem is that i get the results titles encoded with & or ' instead of just & and ' and more. example of one result i got from the example code below (again, added spaces between characters intentionally): title: "Post Malone - "Wow." (Official Music Video)" Tried solving this by decodeURI ,decodeURIComponent or unescape which didn't help. Used a direct call for youtube api and got the same results. What am i missing? var youtubeSearch =