Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using OAuth 2.0 with Talend to Access Google APIs

This tutorial was originally written in 2014 for my website. Although the Google screenshots may be slightly out of date and I wrote this using version 5.5.1 of Talend, you should still be able to make use of this. I have attached a copy of the job and a copy of the parameters file I used for this.

 

Google make use of the OAuth 2.0 protocol for authentication for (I think, but am happy to be corrected) all of their services. They do a pretty good job of describing the protocol. Once you have read through the documentation you should have a better idea of what you are doing, which should make this easier. The Google documentation is here.

 

The first thing that needs to be done is to create a Google Project. This is described below....

 

Create a Google Project

 



To see the whole post, download it here
Labels (5)
30 Replies
Anonymous
Not applicable
Author

I assume you are using the Open Studio. If so you can use GitHub or SVN. Just hook it up to your working folder.With deploying, you will simply have to build the jobs and run them (maybe using the crontab or another scheduler). The build process will produce a zip file which contains the compiled code and a batch file to start the job.

indrajeet183
Contributor
Contributor

Yes, I'm using Open Studio currently. And yes, I want to schedule that job.
Also I was thinking about making it dynamic like provide the file path without giving static value in context variable, is it possible?
Anonymous
Not applicable
Author

Yes, you can use a tContextLoad component to bring in context variable values at the beginning of a job.

indrajeet183
Contributor
Contributor

But then didn't I've to give some input? like in this example we have given file and we have given value/file_path to context_file. But like I said when it will be on another server what if the path is different? so I'm thinking about making it dynamic. Can't we pass any arguments while running build? which will eventually be ours file path?
I hope you got my point.
indrajeet183
Contributor
Contributor

Thank you very much, I've read all articles and now I have much better insights on context variables now, but I think it will take little time to wrap my head around these so I can also come with some solutions which will fit my requirements.
Anonymous
Not applicable
Author

Hi, is there any way to make the refresh token procedure atomatic?

I need to schedule a job to move file from a repository to gdrive continuosly and the manually part of your nice tutorial doesn't work for me.

 

Thank you in advance for reply

powerchip
Contributor
Contributor

powerchip
Contributor
Contributor

Anonymous
Not applicable
Author

Glad that it helped!