Menu
  • HOME
  • TAGS

Python GData Delete Resource

python,gdata

So after many weeks, talking with the Google Support's team, it appears that files deleted this way only become orphans. I still have this files, they still belong to me, but they aren't in any directory (not even the root). The only way to delete them is by searching files...

Python API for Google Calendar and Spreadsheets

python,gdata,google-api-python-client

You'll need to continue to use gdata for sheets until a new version that supports Google API is released.

ContactsRequest.Insert(feedUri, newEntry) sometimes fails with System.Net.ProtocolViolationException

c#,gdata,google-contacts

I had the same error and the problem was that the token had expired. You can confirm that using fiddler. I had a 401 error. Once I refreshed the token, everything worked fine. Hope that help.

gdata spreadsheet library for python not working anymore?

python,google-spreadsheet,gdata

Actually here is the answer to the problem: The use of client login (using username/password instead of oauth2) is likely the cause of the error. That protocol was deprecated 3+ years ago and was just shutdown. If you capture the HTTP response (which appears to have some HTML content), that...

how to narrow search of youtube videos which belogs to user and have specific words

youtube-api,gdata

Youtube API v2 is deprecated and you should be moving into v3, which provides https://developers.google.com/youtube/v3/docs/search/list which I think gives you the possibility of doing what you want.

Get Channel Home Page URL from Json via PHP

php,json,video,youtube,gdata

For the example of http://gdata.youtube.com/feeds/api/videos/I6YeYnOTC-k?alt=json&prettyprint=true Get the URI of the author, given by the API (in this case "http://gdata.youtube.com/feeds/api/users/Zdr_9XUM9vrmkscUwnF42w") Make a request to get JSON-Output of the user Get the channel url under the link-href element(http://www.youtube.com/channel/UCZdr_9XUM9vrmkscUwnF42w) In the end you just grab the URI of the author, send a request...

perl issue for gdata in R when import local xls files

r,perl,gdata

Do one of the following: 1) perl argument Use the perl= argument as indicated in the error message. First make sure that you did install perl. Then assuming a Microsoft Windows environment and that perl was installed in C:\Perl64 (so that perl.exe is found at C:\Perl64\bin\perl.exe) then it would be:...

What is the correct mechanism to authenticate to Google in a standalone Python script?

python,google-oauth,gdata,google-contacts

Can someone please suggest the proper way to do this in a standalone script? Or am I out of luck and there's no mechanism to accomplish this any more? There's no mechanism any more like the one you are using. You will have to set up a Cloud Developer...

How do I get the named range for a cell(s)?

python,google-spreadsheet,gdata,google-spreadsheet-api

Not possible AFAIK not possible. I have used the API a lot, there is only support for read/write of cell formulas/values, nothing else as far as I can tell. No "Style" info or Named range etc. Workaround You can get the named range with Google-apps-script if you need a workaround....

Bad request uploading photo to PicasaWeb from GAE

google-app-engine,sdk,gdata,picasa

I found the issue; it was related to a content type not valid I was using. In my exaqmple I reported "image/jpeg" as parameter of "new MediaStreamSource()" method. In my original code I was using a variable as content type and it was setted in a bad way, for this...

Get Google Plus Images Using Zend Framework 1 Gdata

php,cakephp,zend-framework,google-plus,gdata

Zend_Gdata uses ClientLogin which was deprecated as of April 20, 2012 and turned off on May 26 2015. This code will not longer work you need to switch to using Oauth2. You can use the current Google PHP client library to authenticate then use the access token created there to...

Create event in Google Calendar with Delphi - Error 401

delphi,google-api,google-calendar,gdata,gdata-api

Here you can read the protocol including what Authorization headers does it need. Even with the code you added it's still unclear how the OAuth object is built. However, I don't recommend you to continue using the GData API as it's being deprecated. Consider using the JSON-based v3 version along...

Selecting all rows with distinct column values - Google query language

google-spreadsheet,gdata

Assuming you have the example table in range A1:C, I think the expected result could be achieved with this formula: =ArrayFormula(iferror(vlookup(unique(B1:B),{B1:B,A1:C}, {2,3,4}, 0 ))) See if that helps ?...

Includable Description on Blogger Blogspot

widget,blogger,gdata,blogspot

Right code for post description is <data:post.snippet/> (140 characters) or <data:blog.metaDescription/>.

How to authenticate a java application for the Google Contacts API?

java,google-oauth,gdata,google-contacts

First question: Am I correct in assuming that the only supported authentication now is OAuth2? Yes So... now what? The closest analogy to a username-password is a refresh token (which is simply a string). IE:- If your app has a refresh token, it can, at any time, access the resources...

Using OAuth and gdata to copy google spreadsheet

python,google-spreadsheet,google-drive-sdk,gdata,gspread

With the new Drive API, I have found a way and hope it can be helpful for others: import httplib2 from apiclient import errors from apiclient.discovery import build from oauth2client.client import SignedJwtAssertionCredentials to_copy = '<id/key_string_from_desired_file_url>' # Service account e-mail from Google dev console drive_id = '<my_long_service_account_string>@developer.gserviceaccount.com' # Get the right...

gdata oauth2 authorization NullPointerException: No authentication header information

java,oauth-2.0,google-api,gdata

The problem was in scopes onn the JS side - it was not set. Tryed on Oauth playground by Google, got a token and simply hardcoded it - it worked. After adding the scope to JS side (any JS Oauth library supports it) I succeded on authenticate. I advice everyone...

GData & Google plus conflict

ios,objective-c,xcode,google-plus,gdata

I did not find the way to get them working together, so I've found out a workaround here: http://code.tutsplus.com/tutorials/accessing-google-services-using-the-oauth-20-protocol--mobile-18394 and here Not able to get access token for google+ through Oauth 2.0 in iPhone application...

get event title and times from calendar events

ios,objective-c,calendar,gdata

Try this for (GDataEntryCalendarEvent *event in yourEventEntries) { NSString *title = [[event title] stringValue]; NSLog(@"Title : %@",title); NSArray *times = [event times]; NSLog(@"times : %@",times); GDataDateTime *startTime = nil; GDataDateTime *endTime = nil; GDataWhen *when = nil; if ([times count] > 0) { when = [times objectAtIndex:0]; startTime = [when...

Having trouble trying to use gdata and oauth2 in python

python,eclipse,oauth-2.0,gdata

Finally i've fixed my issue with gdata.gauth: I used auth2token = gdata.gauth.OAuth2Token(client_id,client_secret,scope,user_agent) After getting the authorization token i generate an authorized url to get an access code with auth2token.generate_authorize_url(redirect_uri=URL,approval_prompt="force"). once you get this url, you manually get the code and generate a refresh token, with which you generate an access...