Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Some tasks involving the Google Drive API. Done to facilitate the work of the Making and Knowing Project [Downloads XML from Google Drive]

Notifications You must be signed in to change notification settings

cu-mkp/manuscript-pages

 
 

Repository files navigation

Archived 2022-03-16 by NJR+THC.

You may want to begin by setting up a virtual environment (that way, dependencies are less of a headache).

Activate the virtual environment: source venv/bin/activate

Authentication: Create a project via the Google Developers Console. Then enable Google Drive API. Then create OAuth2.0 Credentials. Check the Web Server App and User Data options and make "http://localhost:8080/" the redirect URI. Put your gmail address and type in a product name, and then download your credentials as a json file. Rename the file "client_secret.json" and place it in the directory from which you will run the program.

In the directory from which you run the program, create a folder titled "manuscript_downloads". This is where all the manuscript pages will be saved. In the same directory, make a folder titled ".credentials" (not sure if this one is actually necessary, but it doesn't hurt).

To run: python server.py

About

Some tasks involving the Google Drive API. Done to facilitate the work of the Making and Knowing Project [Downloads XML from Google Drive]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.2%
  • Perl 10.0%
  • Shell 0.8%