Skip to main content

Python 2.7+/3.6+ PyPi package PyPi downloads

pibooth-google-photo is a plugin for the pibooth application.

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

Install

$ pip3 install pibooth-google-photo

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

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"]
    }
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pibooth_google_photo-1.0.2-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pibooth_google_photo-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: pibooth_google_photo-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for pibooth_google_photo-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f55c1b80ac0ffea4b722c0e5f2923bd8bd366beb44e3a0684da64664a2e4facb
MD5 e745bba9fef5e302fe094a014326c77e
BLAKE2b-256 500a417afa7c8470caa9a1b9da9eb48e547703e027039d28e8ef4507ea283143

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.3

2 files

1.2.2

2 files

1.2.1

2 files

1.2.0

1 file

1.1.1

1 file

1.1.0

1 file

This release

1.0.2 This release

1 file

1.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page