Is Youtube data Api v3 support batch processing - youtube

I want to use youtube api v3 to scrape video datas, and I wish to use batch processing to reduece the overhead.
Youtube api v2 seem support batch processing, but I cannot find how to use batch processing for youtube data api v3.
If it support, what's the batch URL, and can I use http post finish it without google api client liberary.

Related

YouTube imported data in Google Sheets (IMPORTXML fnc) has stopped working

I want to get data from YouTube via IMPORTXML function in Google Docs.
It used to work before, but now "Imported content is empty."
For example, to get likes, I use the query:
=IF(ISNA(IMPORTXML("https://www.youtube.com/watch?v=MkgR0SxmMKo","(//*[contains(#class,'like-button-renderer-like-button')])[1]"))=TRUE,0,
IMPORTXML("https://www.youtube.com/watch?v=MkgR0SxmMKo","(//*[contains(#class,'like-button-renderer-like-button')])[1]"))
but it is not working now, the imported content is empty.
So, the question is, what query should be to get data.
Your code above is scraping the YouTube site, relying on undocumented features of YouTube's API.
Instead of being in contradiction with DTOS -- e.g. paragraphs D.7 and E.6 --, I would suggest you to use the YouTube Data API's endpoint Videos.list, for obtaining the number of likes of any given video through the property statistics.likeCount.
Here is what DTOS says about undocumented features and scraping:
[D.7] Undocumented Services
You must not use undocumented APIs without express permission. You must access data from YouTube API services only according to the means stipulated in the authorized documentation of that YouTube API service.
You must not reverse engineer undocumented YouTube API services or otherwise attempt to derive the underlying source code of these API services.
[E.6] Scraping
You and your API Clients must not, and must not encourage, enable, or require others to, directly or indirectly, scrape YouTube Applications or Google Applications, or obtain scraped YouTube data or content. Public search engines may scrape data only in accordance with YouTube's robots.txt file or with YouTube's prior written permission.

Creating Community post using Youtube data API

I wanted to automate the task of posting of community posts on my channel. While going through Youtube Data (https://developers.google.com/youtube/v3/docs), I couldn't find any such request.
Could you please guide me if this request is available in youtube API? Also If not, how feasible it would be to accomplish this task using web automation i.e. selenium etc. framework.

How to use API instead of using Google BigQuery Data Transfer Service?

I am trying to create BigQuery Data transfer config for Google Adwords through API using a programming language (Python, Java). I looked at the documentation about BigQuery data transfer API. But there is no proper process for that. Maybe I could not understand properly. Can anyone help me in understanding how to use API to get daily analytic data from YouTube instead of paying YouTube to use their BigQuery Data transfer?
You need to get started using Adwords SQL
https://developers.google.com/adwords/api/docs/guides/first-api-call
Refer to the Getting Started section of the Python client library README file to download and install the AdWords API client library for Python.

What is the quota limit when using YouTube Live Streaming API in terms on unit cost?

The YouTube Data API has a great documentation regarding unit cost for each properties being retrieved. It even has a Quota Calculator developers can use. However, the YouTube Live Streaming API does not seem to list the unit cost. Does anyone know how quota are computed per property in YouTube Live Streaming API?
For listing, these are the properties (part) that are use in YouTube Live Streaming API:
id (from YouTube Data API has a unit cost of 0)
snippet (from YouTube Data API has a unit cost of 1 or 2)
contentDetails (from YouTube Data API has a unit cost of 2)
status (from YouTube Data API has a unit cost of 2)
cdn (not listed in YouTube Data API)
And for a list call, usually has a unit cost of 1 except for search which has a unit cost of 100 by default regardless of the properties being retrieved.
In the Resources section of Youtube Live Streaming API, it says that:
all of these resources are actually defined as part of either the
YouTube Data API or the YouTube Content ID API. However, the
liveBroadcast, liveStream, and liveCuepoint resources are only used to
create and manage live events.
So that means Youtube Live Streaming API's quotas are basically derived from Youtube Data API and Youtube Content ID API. Hence, they are the same. You can use the Quota Calculator here just by looking up the corresponding resources mentioned in the Youtube Live Streaming API.
Found this SO thread, I think it's saying the same thing as well.

Youtube/Vimeo API limitations

I want to heavily use the Vimeo API (and possibly YouTube too), to get thumbnails for videos. So my question is, are there any limitations to how many calls you can make to both of the services?
I've read on a YouTube FAQ that
If your application does send API traffic in excess of the quota
limits, the API will return a too_many_recent_calls error
My problem with this is that I'm not sure that I actually use the API for YouTube. I get my thumbnail from an URL, which I'm not sure it's qualifying as an API call. The url is something like: http://img.youtube.com/vi/ORdY5xWzKzY/0.jpg
But on Vimeo I'm sure I use the API.
Any ideas to what the limitations are?

Resources