Hi Spencer - I was able to generate a YouTube library (required to deal with this issue) script id 184YJUhP8FecVrnAoXlbLJ6S0gSacpZrTVKgxWdJpyj9ecRyGgcQVwI0- which I've dropped into this gist
I've been able to setup oAuth2 access but when I make calls like:
YouTube.channelsList('snippet,contentDetails,statistics', {mine: true});
I'm getting
Error: { "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Required parameter: part", "locationType": "parameter", "location": "part" } ], "code": 400, "message": "Required parameter: part" } } (line 83, file "Youtube", project "YouTube")
Tracing the error back to the channelsList() it appears to accept the part string but this isn't included in CALLPAGE_()
function channelsList(part,options){
var path = buildUrl_("channels",options);
var callOptions = {method:"GET"};
var ChannelListResponseItems = CALLPAGE_(path,callOptions,"items");
return ChannelListResponseItems;
}
Is something in the generator missing that would incorporate part? (there are a number of other API calls that also have the part call which are also ignored
Hi Spencer - I was able to generate a YouTube library (required to deal with this issue) script id
184YJUhP8FecVrnAoXlbLJ6S0gSacpZrTVKgxWdJpyj9ecRyGgcQVwI0-which I've dropped into this gistI've been able to setup oAuth2 access but when I make calls like:
YouTube.channelsList('snippet,contentDetails,statistics', {mine: true});I'm getting
Error: { "error": { "errors": [ { "domain": "global", "reason": "required", "message": "Required parameter: part", "locationType": "parameter", "location": "part" } ], "code": 400, "message": "Required parameter: part" } } (line 83, file "Youtube", project "YouTube")Tracing the error back to the
channelsList()it appears to accept thepartstring but this isn't included inCALLPAGE_()Is something in the generator missing that would incorporate
part? (there are a number of other API calls that also have thepartcall which are also ignored