Questions tagged [google-drive-api]

Questions related to integration with Google's cloud storage service or interacting with Google Drive files programmatically, via the Google Drive API, Google Drive SDK, or Google Apps Script. Usage questions about the web application should be posted at Web Applications Stack Exchange.

Google Drive is a cloud-based application and service for creating and managing cloud storage and files. The service supports an internal API for Google Apps Script as well as an External API.

Usage questions about the web application should be posted at Web Applications Stack Exchange instead of here.

Note: Google has used the brand "Google Drive" to encompass a suite of products, but since conforming to that would introduce ambiguity here, the tag is specifically for the cloud storage service while refers to the suite.

Note: Google Drive will soon be renamed to Google One.

Important URLs for the Google Drive SDK

Breaking changes:

Unofficial support channels

12768 questions
396
votes
39 answers

wget/curl large file from google drive

I'm trying to download a file from google drive in a script, and I'm having a little trouble doing so. The files I'm trying to download are here. I've looked online extensively and I finally managed to get one of them to download. I got the UIDs of…
Arjun
  • 4,100
  • 3
  • 10
  • 10
320
votes
23 answers

Displaying files (e.g. images) stored in Google Drive on a website

I was wondering if its possible to access/display files like images which are stored in Google Drive on a public website.
user1355487
  • 3,201
  • 3
  • 12
  • 3
293
votes
3 answers

Is there a Google Keep API?

Is there a API for Google Keep? I want to make a windows 8 app for Google Keep, so that it synchronizes with your phone. I looked into the Drive SDK because Google Keep is a extension of Google Drive, but I couldn't find it.
maxdaniel98
  • 5,623
  • 5
  • 17
  • 21
118
votes
6 answers

Google Docs/Drive - number the headings

Is it possible to number the headings in a Google Docs/Drive document?
ZehnVon12
  • 3,398
  • 3
  • 17
  • 23
91
votes
12 answers

How to shrink code - 65k method limit in dex

I have a rather large Android app that relies on many library projects. The Android compiler has a limitation of 65536 methods per .dex file and I am surpassing that number. There are basically two paths you can choose (at least that I know of)…
Jared Rummler
  • 35,743
  • 18
  • 127
  • 142
79
votes
5 answers

Rstudio and Google Drive Syncing Problems: "The process cannot access the file because it is being used by another process"

So I'm using RStudio and storing my files on Google Drive (the version with folders on your system, acting like Dropbox). I'm using it because it provides a lot more space for free than Dropbox, and I need that space for the projects I'm working…
jpm_phd
  • 905
  • 1
  • 6
  • 7
79
votes
17 answers

How do I display images from Google Drive on a website?

A client of mine has uploaded some photos to their Google Drive and would like me to display their photos on their company website. I reviewed the documentation for displaying Google Drive content on a web page, but it appears that this is simply…
forrest
  • 9,094
  • 23
  • 65
  • 117
78
votes
2 answers

How do I authorise an app (web or installed) without user intervention?

Let's say that I have a web app ("mydriveapp") that needs to access Drive files in a background service. It will either own the files it is accessing, or be run in a Google Account with which the owner has shared the documents. I understand that my…
pinoyyid
  • 19,003
  • 12
  • 50
  • 100
68
votes
5 answers

Automating pydrive verification process

I am trying to automate the GoogleAuth process when using the pydrive library (https://pypi.python.org/pypi/PyDrive). I've set up the pydrive and the google API such that my secret_client.json works but it requires web authentication for gdrive…
alvas
  • 94,813
  • 90
  • 365
  • 641
68
votes
5 answers

How can I see hidden app data in Google Drive?

I have an Android app that stores my notes in hidden app data. I want to export my notes so the question is simple: How can I access the hidden app data in Google Drive for a specific app?
bizzz
  • 1,645
  • 2
  • 18
  • 20
62
votes
7 answers

Getting Google Spreadsheet CSV into A Pandas Dataframe

I uploaded a file to Google spreadsheets (to make a publically accessible example IPython Notebook, with data) I was using the file in it's native form could be read into a Pandas Dataframe. So now I use the following code to read the spreadsheet,…
dartdog
  • 8,974
  • 21
  • 66
  • 114
61
votes
9 answers

Python: download files from google drive using url

I am trying to download files from google drive and all I have is the drive's URL. I have read about google API that talks about some drive_service and MedioIO, which also requires some credentials( mainly JSON file/OAuth). But I am unable to get…
rkatkam
  • 1,904
  • 2
  • 15
  • 25
61
votes
9 answers

How to generate access token using refresh token through google drive API?

I have completed steps of authorization and obtained access token and refresh token. What should I do next to generate access token using refresh token that I have stored through google drive API? I won't be able to use any sdk since I am working on…
Niranja
  • 1,111
  • 2
  • 15
  • 19
60
votes
4 answers

Android Open and Save files to/from Google Drive SDK

I've spent the last six hours pouring over documents from Google and I still don't know how to get started with this. All I want to do is make it so my existing Android app can read files from Google Drive, upload new files to Google Drive, and edit…
ArtOfWarfare
  • 17,763
  • 14
  • 122
  • 177
59
votes
1 answer

How to avoid from always loading cached app data from Google Drive

Currently, I'm using Google Drive Android API, to store my Android app data, to Google Drive App Folder. This is what I'm doing when saving my application data Generate a checksum for the current local zip file. Search in Google Drive App Folder,…
Cheok Yan Cheng
  • 49,649
  • 117
  • 410
  • 768
1
2 3
99 100