Questions tagged as 'google-drive-api'

0
answers

How to get videos from Google Drive

I have a system that captures the information of the video of Google drive through the id, and with that I can mount the structure of my video player. I can capture the video thumbnail, and title. look at the following code. index.php...
asked by 15.12.2018 / 20:01
1
answer

Failed to get about: googleapi: Error 401: Invalid Credentials, authError

I'm using a generic Linux application for Google Drive, which aims to upload local folders to Google Drive via Shell Script. However, when trying to execute command in the terminal of Debian:    ./ gdrive about The application returns...
asked by 04.11.2018 / 01:29
0
answers

Image is not displayed after uploaded by the Google Drive API

I'm trying to understand Google Drive's api to perform uploads, I'm using Postman to do HTTP requests. I can upload an image to a folder in my Google Drive, but when I see the image, it is not displayed, not even when I download and open it on m...
asked by 10.09.2018 / 15:37
0
answers

Making a Google Drive connection through PHP

Good afternoon, I have the following demand. I have a spreadsheet in Google Drive and I need to read two data (CNPJ and one image), and download this image with the Cnpj name. I used the following code: <?php $url_do_arquivo = "https:/...
asked by 22.08.2018 / 18:30
1
answer

How to upload to Google Drive from R

I was seeing about the googledrive package of R's CRAN and I can not seem to get it to work, how to get it into my account. My goal is to upload a data frame and as CSV, direct to my account.     
asked by 01.08.2018 / 23:27
0
answers

Google Drive API drive.files.get NODEJS

Hello, I'm trying to run the function below, and all parameters are valid. function getFiles(fileId, auth){ const drive = google.drive({version: 'v3', auth}); var dest = fs.createWriteStream('pppp.pdf'); drive.files.get({ fileId: '1n...
asked by 27.07.2018 / 19:11
1
answer

how can I put PDF documents on my website using google drive api

I want to put PDF documents on display on my site where the administrator would register the link that is in your Google drive and after that the document would be available for normal users to see by searching I got the following HTML code:...
asked by 04.07.2018 / 20:29
0
answers

Google Drive API - List files in a folder

With the following code, I'm able to list all the folders in my Drive. function listFiles() { gapi.client.drive.files.list({ 'maxResults': 1000, 'q': "mimeType contains 'application/vnd.google-apps.folder'" }).then(function(r...
asked by 23.03.2018 / 18:46
1
answer

Google Drive API to fetch only images

I recently started to study the Google Drive API. I'm able to list all Drive files and have access to all of their attributes. However, I was asked to search only for image files. What did I do? I played the search code inside a JavaScript:...
asked by 20.03.2018 / 12:36
0
answers

Navigate Drive folders via Iframe

I have a code that shows the contents of a folder in Google Drive <iframe src="https://drive.google.com/embeddedfolderview?id=iddapasta8#grid"width="100%" height="600" frameborder="0">Carregando...</iframe> Only in this folder t...
asked by 18.01.2018 / 16:36