Add Image to GitHub Readme.md from Google Drive

For example, I have a.jpg on the google drive. Right click the image and click Share… Click Advanced and change the Who can access option to Public on the web – Anyone on the Internet Copy the link to share and you will have something like https://drive.google.com/file/d/<FILE_ID>/view?usp=sharing Copy the <FILE_ID> to make a link like … Read more

Google Colab – Google Drive can´t be mounted anymore – Browser Popup (Google Drive for Desktop) instead of Link in the code output for authorization

Update: Unfortunately, From Jan 20, 2022, The small solution based on Blue’s solution and the similar solutions isn’t working anymore (Reference). You can use my old solution again… Update2: From Mars 30, 2022, my old solution isn’t working too! I find another solution (Phillip’s solution) that is working now. Phillip’s Solution: This solution is based … Read more

Google Drive HTTP 403 “Access Not Configured” error with DrEdit

In the services section of the Google API console there are two services relating to drive development, SDK and API. When you create a new Drive SDK entry, Drive API service is not automatically enabled (which doesn’t make sense, I don’t see when you’d create a drive enabled application without using the drive API). Switch … Read more

Google Drive Offline Document File Location

It turns out the offline documents are stored in the HTML5 FileSystem. The Chrome FileSystem storage is located here on my Windows 7 machine: C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default\File System I added a number of large images to a document with the Chrome “Offline Docs” enabled and was able to see the FileSystem storage directory grow appropriately. I … Read more

How can I get a list of sheets (name and “gid”) in a Google spreadsheet using the Drive API?

You can use an old visualization API URL f’https://docs.google.com/spreadsheets/d/{doc_id}/gviz/tq?tqx=out:csv&sheet={sheet_name}’ to download a sheet by its name. I just posted this here together with code for the Google API Python library. This is also mentioned in another answer which links to the Charts docs where it is shown how to do this with a gid. Alternatively, … Read more