A Google Photos API wrapper library
- Official API is already supported
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 sessionAlbum
Class - handles all of the global and instance methods for an AlbumMediaItem
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
- Create a Google Cloud Console project
- Enable google photos API here
- Fill information here
- Fill application name and detail
- Apply scopes
- Add a google account as a Test User which will be able to use you project as an 'end user'
- Extract relevant data for
client_secrets.json
pip install gp_wrapper
- See example here