youtube-data-api

YouTube API v3 returns no items

末鹿安然 提交于 2020-01-14 09:10:07
问题 A week ago I started using the YouTube API v3, and have been able to retrieve 13 items from the API using this URL: https://www.googleapis.com/youtube/v3/search?key={MyKey}&channelId={AChannelId}&part=snippet,id&order=date&maxResults=5 Today I used this exact same call/URL and now it returns: // 20140828161458 // https://www.googleapis.com/youtube/v3/search?key={MyKey}&channelId={AChannelId}&>part=snippet,id&order=date&maxResults=5 { "kind": "youtube#searchListResponse", "etag": "\

Youtube API key - accessNotConfigured error

落爺英雄遲暮 提交于 2020-01-14 04:56:05
问题 I registered my application with YouTube for an Android app, and got an API key. And then I tried to make an api call through my browser to try it like this: https://www.googleapis.com/youtube/v3/channels?part=contentDetails&mine=true&key=my_api_key and I got this error: { "error": { "errors": [ { "domain": "usageLimits", "reason": "accessNotConfigured", "message": "Access Not Configured" } ], "code": 403, "message": "Access Not Configured" } } But I did configure my account and set the

How to Retrieve a list of the most-viewed channels by region?

北城以北 提交于 2020-01-14 02:39:22
问题 I did go through Youtube v3 APIs but couldn't figure out how to achieve something which can be done using v2 APIs easily i.e. get all most-viewed channels in a region for e.g. Sweden here https://gdata.youtube.com/feeds/api/channelstandardfeeds/SE/most_viewed?v=2 来源: https://stackoverflow.com/questions/35437243/how-to-retrieve-a-list-of-the-most-viewed-channels-by-region

Get video duration with YouTube Data API?

核能气质少年 提交于 2020-01-13 08:25:27
问题 Basically, I'm trying to get the video duration of each video that shows up in the results when they search. I have a neat little demo set up for you to mess with! ALSO - When I say duration I mean the length of the video in M/S format (0:00).. DEMO http://codepen.io/mistkaes/pen/6b6a347c7d24edee15b3491420db4ecd jQuery: var apikey = '<API KEY>'; $(function() { var searchField = $('#search-input'); $('#search-form').submit(function(e) { e.preventDefault(); }); }); function search() { $('

Getting YouTube auto-transcript from API?

ぐ巨炮叔叔 提交于 2020-01-13 03:48:26
问题 Is it possible to pull the auto (non-user) generated video transcripts from any of the YouTube APIs? 回答1: You may refer with this thread: How to get "transcript" in youtube-api v3 If you're authenticating with oAuth2, you could do a quick call to this feed: http://gdata.youtube.com/feeds/api/videos/[VIDEOID]/captiondata/[CAPTIONTRACKID] to get the data you want. To retrieve a list of possible caption track IDs with v2 of the API, you access this feed: https://gdata.youtube.com/feeds/api

Youtube quotas exceeded

你离开我真会死。 提交于 2020-01-13 00:04:52
问题 I'm developer and I want to upload a video on Api Youtube v3 but it always return the error code "quotas exceeded". I never succeeded upload a video so it's strange... Do you have a solution for this problem or support address mail to contact in order to solve the problem ? I send to api that with attachement the video : curl --request POST \ --url 'https://www.googleapis.com/upload/youtube/v3/videos?part=snippet%2Cstatus' \ --header 'authorization: Bearer MyAccessToken' \ --header 'cache

How do some sites download YouTube captions?

早过忘川 提交于 2020-01-10 09:04:12
问题 This is somewhat of a duplicate question of Does YouTube API forbid to download video captions if you are not it's owner?, Get YouTube captions and Does YouTube API forbid to download video captions if you are not it's owner?, which all basically say it's not possible unless to download captions via the YouTube API unless you are the owner or third-party contributions are not enabled; however, my question is how to sites like http://downsub.com/ or http://www.lilsubs.com/ have access to all

Repeated video duration values in asnyc to videoId - Youtube API v3

余生颓废 提交于 2020-01-06 19:37:20
问题 I'm having a problem with the asynchronous methods that prints and returns all vidDuration values then viewCount values were placed for each videoId, but vidDuration repeated only the last value that was received and assigned it to all of the videoId s which is clearly wrong. I tried setting up a temporary array called tempArray within the loop that store each of the vidDuration values which it did, then to print them to each vidDuration , but then again, it looped through the output however

function1 from other file fail when that function1 is calling another function2 inside function1

﹥>﹥吖頭↗ 提交于 2020-01-06 18:09:36
问题 Code in FileB.py works fine, but fail at one point when I am calling it from other file. I found that it's stops working when calling function "search_response" in the code below. FileA.py from FileB import * search = "stackoverflow" searchF(search) FileB.py from apiclient.discovery import build from apiclient.errors import HttpError from oauth2client.tools import argparser search = "Google" def searchF(search): DEVELOPER_KEY = "REPLACE_ME" YOUTUBE_API_SERVICE_NAME = "youtube" YOUTUBE_API

How can I see all the comments with the Youtube API?

依然范特西╮ 提交于 2020-01-06 13:22:06
问题 I have a problem in Youtube API Comments. When i access http://gdata.youtube.com/feeds/api/videos/-12_0ZP2p4g/comments , he not show all comments in the video... This is a problem for me, cause i need ALL information and comments. When i access the video ( https://www.youtube.com/watch?v=-12_0ZP2p4g ), i found comments that are not on API. Anybody know why this happens? Tnks ... 回答1: It looks like you are currently using the 2.0 API, this API is deprecated now. Anyway, to achieve what you