I need to download a file from Google drive. I got the code to do that here. In this code they launch a web browser process with an URL which asks user to authorize the API access. After authorization, it provides authorization key which needs to keyed in to our process to actually continue (This is typical oath-2.0 procedure). I want make the entire procedure automated without any user interaction. Thanks in advance.
Asked
Active
Viewed 6,869 times
0
-
try mode = offline and consent = auto – sudhansu63 Nov 21 '13 at 13:48
1 Answers
0
You can use a service account to get API access without user interaction, however there seems to be no official .NET implementation for it right now.
Someone created a sample here on how to use a service account with Google Analytics in C#.

Robert
- 1