Category "google-drive-api"

How to initialise Google drive using GoogleCedentials instead of the deprecated GoogleCedential

I have java code to connect to google drive using a service account, this works: JsonFactory JSON_FACTORY = new GsonFactory(); GoogleCredential credential = Go

How can an authenticated user access the drive that is publicly accessible?

With this code, I am able to get the files that have been shared to the service account email. But, when I shared the folder (that was not owned by me, but is p

unable to iterate through all files present in a folder

# Folder Path path = "/content/gdrive/MyDrive/data files" # Change the directory os.chdir(path) # Read text File def read_text_file(file_path):

Get last modified page

How do I get page number, which is modified (deleting/adding content) in Google doc, Google Slide in last modification time? I have used Google drive revision

Copy file revisions to new file Google Drive API v3

Im trying to copy a file using python Google Drive api. Is there a way to copy a file with its revisions, or to update the copied file with the old files revisi

Retrieving a raw file URL from the Google Drive API

I am trying to get the image file URL from the Google Drive API. Not the webViewLink or webContentLink. The backstory doesn't really matter to the issue but it

How to download only files that are not in your computer from Google Drive using python

I'm trying to download files from my google drive folder using Python. I have tried the script below from How to download specific Google Drive folder using Pyt

Enable Google API OAuth Scope

For one of the application created using Google Apps Script, some scopes are automatically added as follows in my app: https://www.googleapis.com/auth/drive

How to Publish/Deploy Google Sheet script as API executable programmatically?

I have a google sheet containing script, I want to perform following operations programmatically. Make this Google spreadsheet public programmatically. I want

How do a rename a file using the Google Drive API for Ruby?

This seems like a basic question, but I'm well into my second day now :( I'm using the Google Drive Ruby Api here: https://github.com/google/google-api-ruby-cl

Get CSV from google drive and then load to pandas

My Goal is to read a .csv file from google drive and load it to a dataframe. I tried some answers here but the thing is, the file is not public and needs authen

Cannot recognize image upload at Google Drive in js

i'm trying to upload image file at google drive, using oauth token & fetch url. https://developers.google.com/drive/api/v3/manage-uploads Perform a multipar

Excluding node_modules folders from syncing with Google Drive

Is there any way to exclude node_module folder from getting sync with Google Drive? If it's not possible with Google Backup and Sync, is there any other app for

How to mount onedrive to google colaboratory?

I use google colab with google drive in deep-learning training, but although I've 100gb premium account, sometimes it accouring error that find: ‘/content

Google Drive API - Service Account : make a request for access token

I am a newbie in Google API. I start my project with Google Drive API and I follow the tutorial in this google cloud document. On the Google Cloud Console - I

google picker is not woking in react

react-google-drive-picker react-google-picker methods from both package are expired. response when try to authenticate : { error: "idpiframe_initialization_f

How to sort files according to date created with google apps script?

I'm looking to sort the files in a folder by the date they were created or last modified. I'm loading the contents of a folder in google drive with the followin

How to make the rest of the code wait until zipfile finishes compiling files

I'm writing a script that compresses multiple files and then uploads the zip file into Google Drive. I managed to do both of these actions separately but when I

backup files to google drive using PHP

I have a server and a domain name on GoDaddy. I want to create a backup for my files to be uploaded on Google Drive So that all my files and my database have

How to read all of the files in a specific directory in google drive using python?

I'm trying to go through all of the files in a folder to read and analyze them in python. There are a large number of these files and I would like to iterate th