Manage photos, videos, and albums in Google Photos
Google Photos Assistant (not to be confused with the Google Assistant AI digital helper) is designed to help you keep track of your library of photos and videos. It will generate cards with.
Service: photoslibrary.googleapis.com
It allows you to reduce the clutter in your main Google Photos library: send a photo to the Archive and it will disappear from the main thumbnail grid – but it will still be accessible. After that, make sure you’re running the latest version of Google Photos on your Android or iPhone.Launch the app, tap on Library, and then tap on Utilities.Here, Google will give you plenty of.
Google Photos Backup Mac Photos Library
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://photoslibrary.googleapis.com
REST Resource: v1.albums
Methods | |
---|---|
addEnrichment | POST /v1/albums/{albumId}:addEnrichment Adds an enrichment at a specified position in a defined album. |
batchAddMediaItems | POST /v1/albums/{albumId}:batchAddMediaItems Adds one or more media items in a user's Google Photos library to an album. |
batchRemoveMediaItems | POST /v1/albums/{albumId}:batchRemoveMediaItems Removes one or more media items from a specified album. |
create | POST /v1/albums Creates an album in a user's Google Photos library. |
get | GET /v1/albums/{albumId} Returns the album based on the specified albumId . |
list | GET /v1/albums Lists all albums shown to a user in the Albums tab of the Google Photos app. |
patch | PATCH /v1/albums/{album.id} Update the album with the specified id . |
share | POST /v1/albums/{albumId}:share Marks an album as shared and accessible to other users. |
unshare | POST /v1/albums/{albumId}:unshare Marks a previously shared album as private. |
REST Resource: v1.mediaItems
Methods | |
---|---|
batchCreate | POST /v1/mediaItems:batchCreate Creates one or more media items in a user's Google Photos library. |
batchGet | GET /v1/mediaItems:batchGet Returns the list of media items for the specified media item identifiers. |
get | GET /v1/mediaItems/{mediaItemId} Returns the media item for the specified media item identifier. |
list | GET /v1/mediaItems List all media items from a user's Google Photos library. |
patch | PATCH /v1/mediaItems/{mediaItem.id} Update the media item with the specified id . |
search | POST /v1/mediaItems:search Searches for media items in a user's Google Photos library. |
REST Resource: v1.sharedAlbums
Methods | |
---|---|
get | GET /v1/sharedAlbums/{shareToken} Returns the album based on the specified shareToken . |
join | POST /v1/sharedAlbums:join Joins a shared album on behalf of the Google Photos user. |
leave | POST /v1/sharedAlbums:leave Leaves a previously-joined shared album on behalf of the Google Photos user. |
list | GET /v1/sharedAlbums Lists all shared albums available in the Sharing tab of the user's Google Photos app. |
Using the Google Photos Library API your app can read, write, and share photos and videos inGoogle Photos.
The Library API is a RESTfulAPI with JSON payload. The structureof the API is based on the product concepts of Google Photos:
- Library: media stored in the user'sGoogle Photos account.
- Albums: media collections which can beshared with other users.
- Media items: photos, videos, andtheir metadata.
- Sharing: feature that enables users toshare their media with other users.
Authorization
Like other Google REST APIs, the Library API uses OAuth2.0 to handle authorization.Your app can request access to the user's Google Photos library via thevarious authorizationscopes provided by theAPI.
Note that the Library API does not support service accounts; to use thisAPI, users must be signed in to a valid Google Account.
Using the Library API
Before you get started on your app development, keep the following in mind:
- UX guidelines for designing your app
- The Library API limits andquotas
Explore the API
To try out the Library API without writing any code, use the API Exploreravailable in the reference documentation.
Here are some methods to try using the API Explorer:
- List your albums.
- Apply filters to a media itemsearch.
Check out our code sample that shows some of the keyfeatures of the Library API.
Partner program
You can integrate with the Google Photos Library API without joining the partner program.However, if your app is likely to exceed the general availability quotalimit, or if you require acommercial agreementto use the Library API, express interest in the Google Photospartner program.
Learn more
Some places to go from here:
Google Photos Photos Library Login
- Get started: configure your project andtry out the sample.
- Guides: the how-to guides and concepts aroundusing the Library API.
- Reference: the API reference documentation
- Support: the support options forrequesting help or giving feedback.