Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Go program to download a Google document in specific file types.

Notifications You must be signed in to change notification settings

arunsathiya/download-google-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💾 Download Google Doc

Go program to download a Google document in specific file types. At this time, the program fetches the list of documents in an authenticated Google Drive allows downloading the doc file in ".docx" and ".pdf" formats.

image

How to run

(Work in progress)

At this time, the program runs with a custom Google Cloud Oauth2 client with Google Drive and Google Docs API enabled. If you are keen to set up right away:

  • Create a Google Cloud project and enable Drive API and Docs API.
  • Create a Oauth2 client for your project and add your email address as a test user.
  • Clone repository.
  • Download the client_secret_xxx.json file into the cloned folder, and rename it to credentials.json.
  • Run go run main.go
  • Authorize your Google Cloud app with your Google account. Copy redirect URL, extract just the token and paste on the terminal screen.
  • token.json file should now be created on your folder, which will be used for all API queries. Don't delete this file.

Plans for the future

  • Support downloading in specific formats.
  • Support bulk downloading of documents.
  • Submit ideas here!

About

Go program to download a Google document in specific file types.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages