I am going to implement a python client that search videos on youtube with different queries. Apparently I should use youtube data api for this. Even though I read quata cost I just want to be sure that using youtube api is totally free of charge. Sorry it is too basic.
Yes, using the YouTube API does not incur any monetary cost for the entity calling the API. If you go over your quota an 403 Error will be returned by the API.
Links:
YouTube API Quota DetailsYouTube Quota Calculator
Google already provides a Python client for all of its APIs, including YouTube, which handles authentication, forming and making the API request as well as some datatype translation (i.e. JSON to dictionary, etc.). (link)
Yes it is, but some restrictions like limit you can use only 100000 units per day.
and 3000 per second per 100 user per day. For more quotas you have to apply for it. You can apply key or oauth id at HERE. Hope it will help you.
Related
We are building an application that manages video campaigns on DV 360. It includes uploading and changing a lot of YouTube videos on a daily basis.
We found that the YT Data API allows us to upload about 5 videos daily before we exhaust the API quota. We requested an extension via the public form. But there is no public information about the SLA for that form or how to get additional Dev support with the API. Which we will need, as our use case is different from the typical API user (apparently).
Has anybody gone through this process successfully and/or found a way to get Dev Support from Google for the YouTube Data API?
Thanks!
Your questions are indeed very much pertinent.
I can state -- based on my experience monitoring the tags youtube-data-api and youtube-api for more than three years -- that there's no official info related to SLAs and Dev Support here on SO.
The YouTube Data API is officially a free of charge API. But that does not exclude the possibility of Google offering this API under different conditions to clients willing to pay for the services provided to them.
I'd recommend to address your issues directly to Google, either through its own issue tracker site, or through its own support forum.
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.
I want to develop some stuff with the twitter streaming API and twitter4j in university. I read now about shutting down the share-count API (https://blog.twitter.com/2015/hard-decisions-for-a-sustainable-platform). Will this effect the twitter streaming API and how it works in any way? Because I need this service for at least 6 month.
The Share-Count and the Streaming API do not cross paths, actually you can obtain the share-count from the Streaming API data as suggested in this post.
Since they are discontinuing that service, it will have no effect on the data that you're able to obtain from the Streaming API so it won't effect the progress of your project.
As far as GNIP goes, that's overkill, it should not have been suggested at all. For research base, especially during initial stages and possibly later phases, the Streaming API will provide you with excellent amount of data. You can even request a limit increase through Twitter's Sale Department but it's up to them to make the final decision. They can be contacted at data-sales#twitter.com
Share count and streaming are totally separate APIs.
If you need guaranteed access, I suggest paying for Twitter's GNIP service - https://www.gnip.com/
Hi I have made an app and enable Google Places api for that project.
I create a project on google developer portal and add the key in to my iOS app After that I start to send request to google Api and My search Works very well as I also know that google has per day request limit on each Api
Now today I send Max. 30 request and after that from google Api I was given error that your daily quota is reached which is 1k request / day.
I did not find any solution on any where Kindly help me to solve this problem.
You need to request more quota:
https://developers.google.com/places/uplift
If you reached the quota while testing your app, make sure that you have used the developer key for that purpose.
What kind of Search are you using?
Some types of searches cost more than others.
For example, one of the autocomplete search types, Text Search, has a 10x multiplier. (https://developers.google.com/places/web-service/usage)
Make sure that you look at the usage limits specified for each API/service you are using.
Additionally, if you are looking at your online dashboard you can see the real-time number of requests that have been made / are being made to each API/service by project. This can help debug when these requests may be being made and how many are occurring per call you believe to be making.
We're currently integrating Google Drive/Docs access in our mobile Apps and use the Google Document List API for this purpose. Are there any restrictions on the number of requests allowed for single API key?
I can't find any information in the Google API Console as the Document List API is not listed there. I can only activate the Google Drive API (which does not yet support functionalities we need).
The Documents List API does not use API keys in the same way as the newer APIs such as Drive. We (Google) do not give exact quota details for this API, but in general the value is extremely high. You may encounter 503 responses which indicate that you should perform exponential backoff. If, despite this, you are hitting an absolute ceiling, you should contact us and we will investigate, and look to increase your quota.