Skip to content

TheSuperpapi/pibooth-OneDrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ongoing, do not use it from now

pibooth-Onedrive

Python 2.7+/3.6+ PyPi package PyPi downloads

pibooth-Onedrive is a plugin for the pibooth application.

This plugin adds the photo upload to a OneDrive. It requires an internet connection to work

Install

$ pip3 install pibooth-OneDrive

Obtaining a Google Photos API key

Obtain a Google Photos API key (Client ID and Client Secret) by following the instructions on Getting started with Google Photos REST APIs

NOTE When selecting your application type in Step 4 of "Request an OAuth 2.0 client ID", please select "Other". There's also no need to carry out step 5 in that section.

Configuration

This is the extra configuration options that can be added in the pibooth configuration):

[GOOGLE]
# Enable upload on Google Photos
activate = True

# Album where pictures are uploaded
album_name = Pibooth

# Credentials file downloaded from Google API
client_id_file =

Note

Edit the configuration by running the command pibooth --config.

Note

At first connection allow application to use google photo with open browser windows

client_id.json is like this

{
"installed":
    {
        "client_id":"8723982792-sdjfhdkjhvfkd76.apps.googleusercontent.com",
        "client_secret":"HJAHZhjhi_HJI789798giEdPIbJ",
        "auth_uri":"https://accounts.google.com/o/oauth2/auth",
        "token_uri":"https://www.googleapis.com/oauth2/v3/token",
        "auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs",
        "redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]
    }
}

About

Copy of Pibooth-Google-Photo and ungrade to Ondrive

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages