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

14746 questions
18
votes
5 answers

Script to automatically make a copy of a Google Document for editing

I feel like a total noob posting here. I know CSS, HTML, and XML pretty well but have always avoided JS. I know very little javascript and recently started a Lynda.com course to catch up. Sorry for my ignorance. As such, I am really struggling…
18
votes
2 answers

Is it possible to share a file publicly through Google Drive API

I am working on Google drive application which will allow user to create file which must be public. I could see some example where we can create a file in Google drive through APIs. But, While creating a file, Is it possible to share a file as…
Fizer Khan
  • 88,237
  • 28
  • 143
  • 153
18
votes
3 answers

Android API for Google Drive?

It seems the currently released API is focused on Chrome store apps. Will there be an API for Android or is it possible to use and existing API like the Google Documents list data? And if so, which URL should be used for listing/accessing files?
AndersC
  • 512
  • 1
  • 4
  • 11
17
votes
5 answers

List of files in a google drive folder with python

I've got the exact same question as the one asked on this post: List files and folders in a google drive folder I don't figure out in the google drive rest api documentation how to get a list of files in a folder of google drive
javi padilla
  • 373
  • 1
  • 2
  • 8
17
votes
2 answers

Is there a G Suite/Google Apps API?

I had several questions regarding the usability of a "G Suite/Google Apps API." I would like to integrate some sort of document/spreadsheet/presentation management directly into an application I am building. This service would have to have the…
17
votes
3 answers

Request specific file permissions with Google Sheets / Google Drive API

I'm using the Google Sheets API to obtain sheet data for a Java project. All works as expected locally, but I'm using the verbose permissions scope https://www.googleapis.com/auth/spreadsheets which "Allows read/write access to the user's sheets and…
17
votes
7 answers

is having trouble with Google Play services.Please try again. Only on 4.4.X OS devices

We have an android app on Play Store for last 2 years. We are trying to connect the Google Drive API using play services inside the app. Things are working fine for all the android OS except 4.4.X. In 4.4.X OS devices while trying to login to the…
17
votes
2 answers

URL to upload to Google Drive

Is there any URL I could use to directly upload to Google Drive? For example, I have a file on my server http://example.com/file.doc and I want to upload it to Google Drive with something like:…
Henrik Petterson
  • 6,862
  • 20
  • 71
  • 155
17
votes
5 answers

Google Drive API with Python from server(Backend) without browser autentication

I'd like to save the files of my Saas Appication to my Google Drive Account, all the examples I've seen was with oauth2 autentication and needs the end user autenticate openning the browser, I need to upload files from my server without any user…
Rodrigo Rodrigues
  • 649
  • 2
  • 12
  • 25
17
votes
4 answers

How to search file inside a specific folder in google API v3

As i am using v3 of google api,So instead of using parent and chidren list i have to use fileList, So now i want to search list of file inside a specific folder. So someone can suggest me what to do? Here is the code i am using to search the file…
17
votes
2 answers

How to embed videos from Google drive to webpage?

I'm trying to load a video on a web page and for YouTube embed code it works. However, when I replace the src in the code with a Google Drive Link of a video (with sharing turned on), nothing comes up. I mean, there is no error but its blank. Why…
Dr Confuse
  • 605
  • 1
  • 7
  • 24
17
votes
1 answer

File Picker for Google Drive Rest API for Android

While the Google Drive Android API, an API separate from the Google Drive Rest API, does contain a file picker, the Google Drive Android API is not integrated with all the features of the Google Drive Rest API, such as exporting Google Docs files to…
Daniel
  • 1,599
  • 1
  • 16
  • 19
17
votes
4 answers

Google Drive Android API - Check if folder exists

I'm trying to figure out how to check if a folder exists in Google Drive using the new Google Drive Android API I've tried the following, thinking that it would either crash or return null if the folder is not found, but it doesn't do that (just as…
Jakob Harteg
  • 9,587
  • 15
  • 56
  • 78
17
votes
13 answers

Error : ConnectionResult{statusCode=INTERNAL_ERROR, resolution=null}

I am developing the application where I am integrating the Google Drive in my App. Below is my code which is I simply copied from the sample code but I am getting exception when connecting with Google Drive. Exception :…
N Sharma
  • 33,489
  • 95
  • 256
  • 444
17
votes
3 answers

Google Drive uploading file size limit

Im trying to upload my files to Google Drive via REST API (resumable upload). Everything looks good (XMLHttpRequest triggers onprogress and onload events), but after it (onload triggered) Google Drive PUT request fail with 500 Internal Server Error.…
Vlad Tsepelev
  • 2,056
  • 1
  • 21
  • 32