google-data-api

How to get consumer key and and consumer secret for gmail api?

让人想犯罪 __ 提交于 2019-12-02 22:29:50
I am trying to use Gmail php xoath php samples, however it requires to enter consumer key and consumer secret which I could not find how to obtain in Gmail api documentation. Does any one know how to obtain them or know of any related documentation? Use anonymous / anonymous and HMAC-SHA1 signature for applications that are not registered with Google. For applications registered with Google, you should use the application domain as consumer key and the consumer secret depends on the signing method (your private key for RSA-SHA1 and the secret generated during the registration for HMAC-SHA1 ).

How to skip carriage returns in csv file while reading from cloud storage using google cloud dataflow in java

梦想与她 提交于 2019-12-02 13:03:43
I have a CSV file which consists of new carriage returns (\n) in each row. While reading the CSV file from cloud storage using TextIO.read function of Apache beam it is considering \n as new record. how can i overcome this issue. I have tried with by extending filebasedsource but it is reading only first line of the CSV file when we apply pTransorms. help will be appreciated Thanks in Advance TextIO can not do this - it always splits input based on carriage returns and is not aware of CSV-specific quoting of some of these carriage returns. However, Beam 2.2 includes a transform that will make

Login to Google without Google+ login button but user credentials

天涯浪子 提交于 2019-12-02 10:05:20
I have a specific problem, the application is only for a set of people whose Google credentials are on my server. I make a login to my server, look-up the Google credentials and send them back and Create an OAuth authentication to interact with Google services. (Because I don't want the app to be device specific I want to use accounts other than those registered on my device, which completely fails in a G+ sign in mechanism) Currently I use a Deprecated Client ID mechanism wherein I pass the Uname and Pwd to g-data java client What would be the preferred way and if there are any other ways to

Google App Engine cannot find gdata module

半腔热情 提交于 2019-12-01 07:36:09
I can run a simple "Hello World" Google App Engine application on localhost with no problems. However, when I add the line "import gdata.auth" to my Python script I get "ImportError: No module named gdata.auth". I have installed the gdata module and added the following line to my .bashrc: export PYTHONPATH=$PYTHONPATH:/Library/Python/2.5/site-packages/ Is there anything else I need to do? Thanks. EDIT: The strange thing is that if I run python from a shell and type "import gdata.auth" I do not get an error. Your .bashrc is not known to Google App Engine. Make sure the gdata directory (with all

Google App Engine cannot find gdata module

笑着哭i 提交于 2019-12-01 04:53:13
问题 I can run a simple "Hello World" Google App Engine application on localhost with no problems. However, when I add the line "import gdata.auth" to my Python script I get "ImportError: No module named gdata.auth". I have installed the gdata module and added the following line to my .bashrc: export PYTHONPATH=$PYTHONPATH:/Library/Python/2.5/site-packages/ Is there anything else I need to do? Thanks. EDIT: The strange thing is that if I run python from a shell and type "import gdata.auth" I do

Authorizing requests with OAuth 2.0 in Google Spreadsheet API

扶醉桌前 提交于 2019-11-30 22:37:45
I am trying to create a PHP web page that requires reading some data from a google spreadsheet in my domain (I am using Google Apps Free Edition). The spreadsheet to be read is a non-public one but is visible to some people in my domain. Since it's non-public, I know there will be some authentication and authorization stuff even I am using the API to read it. I found this page but there is something that I don't understand: http://code.google.com/intl/zh-TW/apis/spreadsheets/data/3.0/developers_guide.html#Auth It says we should use OAuth 2.0 protocol, this is ok. But it also says during the

Authorizing requests with OAuth 2.0 in Google Spreadsheet API

徘徊边缘 提交于 2019-11-30 17:20:08
问题 I am trying to create a PHP web page that requires reading some data from a google spreadsheet in my domain (I am using Google Apps Free Edition). The spreadsheet to be read is a non-public one but is visible to some people in my domain. Since it's non-public, I know there will be some authentication and authorization stuff even I am using the API to read it. I found this page but there is something that I don't understand: http://code.google.com/intl/zh-TW/apis/spreadsheets/data/3.0

How to upload Video to youtube using Google.Apis.YouTube.v3 and C#?

无人久伴 提交于 2019-11-30 11:34:26
I have created console application using C# . Which will upload Video from local drive to youtube . I have created new app in google api using this link . I have also installed all required packages using nuget . When I run my application I am getting error as " Access Denied " I am not able to find the issue. I am getting error in Task Run() method. using System; using System.IO; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Google.Apis.Auth.OAuth2; using Google.Apis.Services; using Google.Apis.Upload; using Google.Apis.Util.Store; using Google.Apis

What is “authTokenType” parameter in Google data API?

爷,独闯天下 提交于 2019-11-30 10:29:35
I just implemented Google Translator Toolkit API using the new google-api-java-client. Problem is, that authTokenType isn't mentioned anywhere in documentation and it seems to be important for authentication. In the samples, bigquery-json-clientlogin-sample is using authTokenType = "ndev"; prediction-json-clientlogin-sample is using authTokenType = "xapi"; if I use one of these two, I get the authorization token, but If I use it, I'm 403 forbidden to access the service. If I use different "whathever" I don't even get the authorization token... Here is the client code I found that in the old

What is “authTokenType” parameter in Google data API?

送分小仙女□ 提交于 2019-11-29 15:56:30
问题 I just implemented Google Translator Toolkit API using the new google-api-java-client. Problem is, that authTokenType isn't mentioned anywhere in documentation and it seems to be important for authentication. In the samples, bigquery-json-clientlogin-sample is using authTokenType = "ndev"; prediction-json-clientlogin-sample is using authTokenType = "xapi"; if I use one of these two, I get the authorization token, but If I use it, I'm 403 forbidden to access the service. If I use different