i have implemented a simple project that automate upload video on my youtube channel.
Yesterday I have request the audit of my project, someone know the what are response time?
Related
Does anyone know whether I could perform HTTP requests from the YT Data API, asking for an actual mp4 file of a video that has been uploaded to a specicific channel that has granted me access to do so via OAuth2? I would need the mp4 file because I want to subtitle the videos I pull from those channels.
I read the docs, but I wasn't able to find any details on this matter, unfortunately.
Unfortunately there isn't any YouTube Data API v3 Videos: download endpoint as there is the Captions: download one. I would recommend you to use yt-dlp to download your videos in an automatic manner.
from my google lookup it seems that Im suppose to fill this form (https://support.google.com/youtube/contact/yt_api_form) in order to be able to upload public videos to my YouTube channel using YouTube data Api.
Is there any things i should do apart from that? Do i have to make my related google developer console project "verified" too?
YouTube Data API has:
https://developers.google.com/youtube/v3/docs/videos#snippet.liveBroadcastContent
but this shows whether you are already live streaming or there is a scheduled live stream.
And the YouTube livestream API doesn't seem to deal with non-LIVE entries:
https://developers.google.com/youtube/v3/live/docs/
Use
https://developers.google.com/youtube/v3/docs/videos#liveStreamingDetails
works with api_key unlike the fileDetails in the old answer.
OLD:
I was lucky and spotted that the past live streams are saved with file name livestream.str.
So, using the YouTube Data API to get videos with filename livestream.str should work.
To get this filename, you need the OAuth2 authorization. If you use the API key you will get 403 error. Then use the part=fileDetails:
https://developers.google.com/youtube/v3/docs/videos/list#parameters
I have some issues with V2 (Error code 400) so I'm trying to move to Youtube Api V3 from V2.
I'm using C# and I've been searching how to upload videos to Youtube with api key on V3 .NET
Where can i find an example,explanation or a document for that?
https://developers.google.com/youtube/v3/code_samples/dotnet#upload_a_video
You need to go through OAuth2. If you are trying to upload into your own account, then this segment explains how to: https://developers.google.com/youtube/v3/guides/moving_to_oauth#standalone
Basically, you go through once and save the token from there.
If you even want to skip that one time as well, you can get a refresh token in OAuth2 Playground with respected scopes and plug it in directly in your code, with client secret and id. That way your script won't need a web browser.
Here's the video explaining this workflow step-by-step.
We have a manual process to download the performance report from youtube cms application. This report is a csv or zip that is generated weekly and gives the "view" details for every video owned by the user at a daily level.
Is there an API to download this report ? I looked at the youtube analytics api and it looks like I have to get the data for each video individually. We have a lot of videos and this will be over the quota. Is there a way to get the weekly performance report through some api ?
The current YouTube Analytics API isn't well suited for performing bulk reporting for any significant volume of videos.
There's an open feature request that you can "Star" to be notified when there's an alternative approach available. I'm afraid that I don't have any timelines to share, but it's being actively worked on.
As Jeff pointed out before, you won't be able to download a performance report from Youtube CMS using Youtube Analytics API.
You can use mechanize module in python to log in to your youtube cms account and navigate to that download URL.
browser = mechanize.Browser()
browser.open('http://cms.youtube.com')
browser.select_form(nr = 0)
browser.form['Email'] = email
browser.form['Passwd'] = password
browser.submit()
browser.open(dashboard_url) //url that you get redirected to when you login
and then you can search for reports link. then click on that. then search for the report you want and download it.
more info here:
http://www.pythonforbeginners.com/cheatsheet/python-mechanize-cheat-sheet/
i was able to download reports that i want using this module in python.