google-apis-explorer

Youtube Brand Manager API V3 Support

你说的曾经没有我的故事 提交于 2019-12-12 04:45:31
问题 I have a youtube channel, CNLohr, http://youtube.com/cnlohr which I use as my primary livestreaming platform. It is distinct from my primary gmail account. My gmail account has its own youtube, but I don't have subscribers or anything on that. CNLohr is a "Brand manager" My problem is that when authorizing an API application it seems to only apply to my gmail account account. Even if I authorize it as my youtube brand. It's very confusing as I can select my youtube or email account when at

File creation is ignoring my parameters but creates an “Untitled” binary file

南楼画角 提交于 2019-12-11 23:45:48
问题 Using the Google API via the googleapis package and the file.create call simply does not work. I've experimented making the same call in Google's API Explorer and it does work. I'm at a bit of a loss. The createSheet call is encapsulated as follows : Google.prototype.createSheet = function(filename, callback) { var services = google.drive('v3'); services.files.create({ "name" : filename, "mimeType" : "application/vnd.google-apps.spreadsheet", "description" : 'auto-generated by the cli', "auth

Google photos api adding photos to existing album is broken

霸气de小男生 提交于 2019-12-11 16:35:45
问题 Using Googles own "try this api" feature with google photos api. There is a bug with the REST request to add photos to existing albums. Attached a screenshot as proof. I raised this issue here because thats what their support section says to do so please dont downvote. I can add photos directly through the google photos app and thats it. 回答1: So i figured out why this is happening. See "Media items can be created only within the albums created by your app. For more information, see

gmail API for sending users messages in nodejs javascript failes

我是研究僧i 提交于 2019-12-11 14:14:57
问题 My nodejs program fails to send messages using the Gmail api. The solution from Gmail API for sending mails in Node.js does not work for me. I encode an email with var {google} = require('googleapis'); // to and from = "some name <blaw.blaw.com" function makeBody(to, from, subject, message) { var str = ["Content-Type: text/plain; charset=\"UTF-8\"\r\n", "MIME-Version: 1.0\r\n", "Content-Transfer-Encoding: 7bit\r\n", "to: ", to, "\r\n", "from: ", from, "\r\n", "subject: ", subject, "\r\n\r\n",

400 error. Recipient address required. JavaScript

喜欢而已 提交于 2019-12-11 13:36:24
问题 I make a simple request step-by-step in Gmail API. According to all instructions I made this call: var request = gapi.client.gmail.users.messages.send({ 'userId': 'me', "payload": { "headers": [ { "name": "To", "value": "########@gmail.com" } ]}, 'raw': 'SEVMTE8gTVkgREVBUiBGUklFTkQ=' }); request.then(()=>{console.log('yep')}) But receive an error: { "error": { "errors": [ { "domain": "global", "reason": "invalidArgument", "message": "Recipient address required" } ], "code": 400, "message":

Google Cloud Platform - How to filter instances.list by tag?

心已入冬 提交于 2019-12-11 07:19:58
问题 I'm trying to filter list of instances by tag name What works perfectly with gcloud, e.g. gcloud compute instances list --filter 'tags.items=firewall-client-mongodb' Does not work with API, which always returns 400: { "error": { "errors": [ { "domain": "global", "reason": "invalid", "message": "Invalid value for field 'filter': 'tags.items = test'. Invalid list filter expression." } ], "code": 400, "message": "Invalid value for field 'filter': 'tags.items = test'. Invalid list filter

Google+ People Search API returns no items

橙三吉。 提交于 2019-12-09 15:37:41
问题 Is google+ people search deprecated? I'm using the Try this API from their page https://developers.google.com/+/web/api/rest/latest/people/search and keep getting no items for different queries { "kind": "plus#peopleFeed", "etag": "\"ucaTEV-ZanNH5M3SCxYRM0QRw2Y/K-_p8YwZl_F9FBOVSt8JEHLSg9Y\"", "selfLink": "https://content.googleapis.com/plus/v1/people? query=jane%20smith&key=[mykey]", "title": "Google+ People Search Results", "nextPageToken": "", "items": [] } 回答1: yes, this broke in the past

404 error when deploying a Google Apps script via the REST API

血红的双手。 提交于 2019-12-08 09:38:18
问题 I'm trying to deploy a Google Apps script via the Google REST API, and I'm using the API Explorer to perform that. This is the method I am testing: https://developers.google.com/apps-script/api/reference/rest/v1/projects.deployments/create Executing the method via the API Explorer returns a 404 error. I have verified that the scriptId in question does exist, and have tried several other scriptIds, to no avail. I have also made sure the permission scopes are properly set. This is what the API

Youtube playlistItems list API sometimes works, sometimes throws 404

不打扰是莪最后的温柔 提交于 2019-12-08 08:43:35
问题 I have retrieved upload Id from a channel as shown here(https://www.youtube.com/watch?v=RjUlmco7v2M&t=2s), and using it as playlitstId here https://developers.google.com/youtube/v3/docs/playlistItems/list#try-it Sometimes it gives 200, sometimes 404, Response {_body: "{↵ "error": {↵ "errors": [↵ {↵ "domain": "yo…003c/code\u003e parameter cannot be found."↵ }↵}↵", status: 404, ok: false, statusText: "OK", headers: Headers…} Additional info: I have selected part as contentDetails,id,snippet

Failed to launch the browser when GoogleDriveApplication is hosted in IIS Server

五迷三道 提交于 2019-12-08 08:10:02
问题 I'm working with Google Drive API v3 in local it's working for creating token.json when i host to IIS server getting error : Access is denied Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ComponentModel.Win32Exception: Access is denied Source Error: An unhandled exception was generated during the execution of the