gdata

Having trouble trying to use gdata and oauth2 in python

做~自己de王妃 提交于 2019-12-20 05:23:20
问题 Good evening, i've been trying to migrate my blogger python app to oauth2 since the good old Clientlogin() has been deprecated and erased. So, basically i searched through the entire web and couldn't manage to make my application to work correctly. This is the basic code im using for testing: FLOW = flow_from_clientsecrets('/home/b/client_secret.json',scope='https://www.googleapis.com/auth/blogger',message="Client Secrets Not Found") storage = Storage('blogger.dat') credentials = storage.get(

Exception thrown when using GData .NET Analytics API

与世无争的帅哥 提交于 2019-12-20 04:19:37
问题 I am facing an issue while trying to fetch data from GoogleAnalytics API on piece of code that has been working well just a couple of days ago. For this I am referencing the following DLL's: Google.GData.Analytics.dll Google.GData.Client.dll Google.GData.Extensions.dll And I am using the following code: Dim visits As String = String.Empty Dim username As String = "myuser@mydomain.com" Dim pass As String = "mypassword" Const dataFeedUrl As String = "https://www.google.com/analytics/feeds/data"

SyntaxError using gdata-python-client to access Google Book Search Data API

岁酱吖の 提交于 2019-12-20 02:57:11
问题 >>> import gdata.books.service >>> service = gdata.books.service.BookService() >>> results = service.search_by_keyword(isbn='0434003484') Traceback (most recent call last): File "<pyshell#4>", line 1, in <module> results = service.search_by_keyword(isbn='0434003484') ... snip ... File "C:\Python26\lib\site-packages\atom\__init__.py", line 127, in CreateClassFromXMLString tree = ElementTree.fromstring(xml_string) File "<string>", line 85, in XML SyntaxError: syntax error: line 1, column 0 This

gdata-java-client + oauth2 + access_token secret

倾然丶 夕夏残阳落幕 提交于 2019-12-17 19:00:26
问题 I'm currently trying to use the new java client(s) and due to legacy reasons for current state of google libraries, I need to use both the gdata and the new google java client api. Obviously I'd like to use OAuth2 -- however with OAuth2 I am not getting the access token secret -- which causes an issue b/c gdata requires the access token secret. Could anyone pls advise on a workaround eg. - is there a way to use gdata java libraries with only access token(OAuth2) and not access token secret?

Import password-protected xlsx workbook into R

我的梦境 提交于 2019-12-17 16:44:35
问题 How can I import a worksheet from a password-protected xlsx workbook into R ? I would like to be able to convert an Excel worksheet into a csv file without having to go through Excel itself. It is possible for xls workbooks using the perl-based function xls2csv from package gdata . I gather that the problem is Spreadsheet::XLSX doesn't support it. There are a variety of functions and packages for importing non-encrypted xlsx workbooks, but none seems to address this issue. At present it seems

Importing Excel file using url using read.xls

时光怂恿深爱的人放手 提交于 2019-12-17 14:29:51
问题 I'm trying to use read.xls from gdata to import an Excel file directly into R. I'm on a Windows machine running 64 bit R. I have checked my PATH variable for perl and I appear to have that set correctly, so that doesn't appear to be a problem. Here's my code, and I've attached my error below. Does anyone have any pointers on how I can get this done? require(RCurl) require(gdata) url <- "https://dl.dropboxusercontent.com/u/27644144/NADAC%2020140101.xls" test <- read.xls(url) The error I'm

Importing Excel file using url using read.xls

本秂侑毒 提交于 2019-12-17 14:29:29
问题 I'm trying to use read.xls from gdata to import an Excel file directly into R. I'm on a Windows machine running 64 bit R. I have checked my PATH variable for perl and I appear to have that set correctly, so that doesn't appear to be a problem. Here's my code, and I've attached my error below. Does anyone have any pointers on how I can get this done? require(RCurl) require(gdata) url <- "https://dl.dropboxusercontent.com/u/27644144/NADAC%2020140101.xls" test <- read.xls(url) The error I'm

Importing Excel file using url using read.xls

泪湿孤枕 提交于 2019-12-17 14:29:27
问题 I'm trying to use read.xls from gdata to import an Excel file directly into R. I'm on a Windows machine running 64 bit R. I have checked my PATH variable for perl and I appear to have that set correctly, so that doesn't appear to be a problem. Here's my code, and I've attached my error below. Does anyone have any pointers on how I can get this done? require(RCurl) require(gdata) url <- "https://dl.dropboxusercontent.com/u/27644144/NADAC%2020140101.xls" test <- read.xls(url) The error I'm

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

浪尽此生 提交于 2019-12-14 01:42:27
问题 I've got some code that I'm using to extract email address from Gmail contacts into text file. It's a simple Python script that runs in a cron job, and is based on the Python gdata library (currently v2.0.18). As of earlier this month, this no longer works due to Google deprecating the ClientLogin protocol. The resulting error looks like this: {'status': 401, 'body': '<?xml version="1.0" encoding="UTF-8"?>\n<errors xmlns="http://schemas.google.com/g/2005">\n <error>\n <domain>GData</domain>\n

Upload video to YouTube, Execution of request failed, (401) Unauthorized

时间秒杀一切 提交于 2019-12-13 18:21:27
问题 I am trying to upload unlisted videos to my youtube account, i continue to get errors which i can't resolve. The YouTube Data Api 3 is does not support any .Net currently as far as i can see, and during my two day search for answers i see people with the most success have used the Google GData. Below is my attempt at GData trying to post a YouTube video. Imports Microsoft.VisualBasic Imports System Imports System.IO Imports System.Reflection Imports System.Threading Imports System.Threading