Skip to content

Some tasks involving the Google Drive API. Done to facilitate the work of the Making and Knowing Project: http://www.makingandknowing.org/

Notifications You must be signed in to change notification settings

emretetik96/manuscript-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: http://www.makingandknowing.org/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published