Skip to main content

A Google Photos API wrapper library

Project description

gp_wrapper v=0.9.8

A Google Photos API wrapper library

  • Official API is already supported

What does this package offer?

Support for all of the official API and more convenience function as well. A-lot of well defined API inspired Classes and Enums to simplify the usage.

  • GooglePhotos class - wrapper over authenticated HTTP session
  • Album Class - handles all of the global and instance methods for an Album
  • MediaItem Class - handles all of the global and instance methods for MediaItem
  • Enums: RequestType, HeaderType, MimeType, PositionType, EnrichmentType, MediaItemMaskTypes, AlbumMaskType, RelativeItemType, StatusCode
  • Classes: SimpleMediaItem, NewMediaItem, AlbumPosition, Status, MediaItemResult, MediaMetadata, ContributorInfo

Quick Start

  1. Create a Google Cloud Console project
  2. Enable google photos API here
  3. Fill information here
    1. Fill application name and detail
    2. Apply scopes
      1. https://www.googleapis.com/auth/photoslibrary,
      2. https://www.googleapis.com/auth/photoslibrary.appendonly
      3. https://www.googleapis.com/auth/photoslibrary.sharing
      4. https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata
    3. Add a google account as a Test User which will be able to use you project as an 'end user'
  4. Extract relevant data for client_secrets.json
  5. pip install gp_wrapper
  6. See example here

Project details


Download files

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

Source Distribution

gp_wrapper-0.9.8.tar.gz (29.5 kB view details)

Uploaded Source

File details

Details for the file gp_wrapper-0.9.8.tar.gz.

File metadata

  • Download URL: gp_wrapper-0.9.8.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for gp_wrapper-0.9.8.tar.gz
Algorithm Hash digest
SHA256 632a434996c6be1f4439b8d316e18d263b5bc8514f0790d61bf37916ba8b1bfd
MD5 86b5f72ff35229c1bc5a0effa228fdc0
BLAKE2b-256 8f5d85a5e073b1d64ea1569efacbc992c8cb454d556de38957ccffaaa7765045

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page