Using the Google Photos Library API your app can read, write, and share photos and videos in Google Photos.
Questions tagged [google-photos-api]
201 questions
18
votes
4 answers
Location Data Google Photos API
When I query a photo in Google photos via the API, it doesn't return any location data that is associated with the image. I can see the location on the map when I view the information about the image in Google Photos, however the API doesn't give…
![](../../users/profiles/2845311.webp)
Andrew Schultz
- 3,530
- 2
- 15
- 37
8
votes
4 answers
Access Google Photo API with Python using google-api-python-client
According to Google API Client Libraries page it is possible to access the Google Photos API using the python client library, but after installing it using pip install -t lib/ google-api-python-client I don't see anything related to Photos API.
How…
![](../../users/profiles/355401.webp)
Ido Ran
- 9,010
- 11
- 73
- 129
6
votes
2 answers
Selecting video from Google Photos provider doesn't give mimetype information
I've created a sample here to reproduce this issue.
I'm running this project on an emulator with API level 29 and selecting a video from google photos provider.
But I cannot figure out how to get the mimeType of the selected file.
I've used…
![](../../users/profiles/12630598.webp)
Shivam Pokhriyal
- 76
- 9
6
votes
0 answers
Using Google api for Photos java client in android
Almost all the google services are available in 'google play services' for android and some are still only available as java library and there are instructions to use those java libraries in…
![](../../users/profiles/939089.webp)
ThiyagaB
- 921
- 1
- 9
- 23
6
votes
3 answers
Uploading photo to Google Photos API not returning upload token
I'm using the 2018 version of the Google Photos API to upload images and media as documented here: "Uploading Bytes"
When I upload a new image or video I never get an upload token in the body of the response. It's always an empty body, which…
![](../../users/profiles/87408.webp)
Edward Q. Bridges
- 12,412
- 8
- 31
- 39
6
votes
2 answers
Is it possible to delete a photo or an album created via Google Photos API?
There does not seem to be any way of removing created photos or albums even when full access is grated to the program.
Delete support is vital for the Photos API to be complete. Lack of delete functionality really limits the usefulness of the API.…
![](../../users/profiles/1716606.webp)
homiak
- 301
- 2
- 10
6
votes
0 answers
Google photos api - Access-Control-Allow-Origin
I am building a design tool to create fully customizable photo products like photobooks. I use technologies such as firebase (database and storage) and angular4. In order to integrate google photos with my web app I use the google photos api. When I…
![](../../users/profiles/5359561.webp)
Dimitrios Tournoglou
- 61
- 1
5
votes
1 answer
Can't Upload Image with Google Photos API using NodeJS
I have application built in NodeJS it is suppose to upload pictures to google photos using google photos API
for the authentication part I'm doing successfully, i have problem when i try to upload pictures i receive the upload token without problem…
![](../../users/profiles/8353773.webp)
Laith Omar
- 51
- 2
5
votes
3 answers
Authentication session is not defined
I try to use Google Photos API to upload my images, base on the steps of the following link.
https://developers.google.com/photos/library/guides/upload-media
After following the Using OAuth 2.0 for Web Server Applications, I just get the…
![](../../users/profiles/8590209.webp)
Chao
- 161
- 7
5
votes
1 answer
Can upload photo when using the Google Photos API
I am trying to upload a photo (jpg image) using the new Google Photos API.
I am able to get an uploadToken but when I try to create the media item I get the following error:
{
"newMediaItemResults": [
{
"uploadToken":…
![](../../users/profiles/10197558.webp)
R. Sutherland
- 51
- 1
- 3
5
votes
1 answer
Google Photos API, pageSize Parameter not returning expected results
Using the Google Photos API Explorer I am trying to limit the number of albums returned using the albums.list method.
If I set pageSize = 10, the api explorer returns 5 albums, if I set it to 3 in returns 1 album.
Any suggestions as to why I am not…
![](../../users/profiles/1865837.webp)
nakunakifi
- 73
- 3
4
votes
4 answers
Google Photos API limits
I'm trying to use the Google Photos API to incrementally upload a very large local photo library.
Everything was working, but after uploading about 1.2GB the requests started being rejected with the following message:
Insufficient tokens for quota…
![](../../users/profiles/2735602.webp)
AngryPeaches
- 41
- 1
- 4
3
votes
1 answer
filter based media search with google photos API (python)
I'm trying to use the mediaItems().search() method, using the following body:
body = {
"pageToken": page_token if page_token != "" else "",
"pageSize": 100,
"filters": {
"contentFilter": {
…
![](../../users/profiles/10849727.webp)
Hadar Sharvit
- 333
- 2
- 10
3
votes
1 answer
How to use Google Photos API Method: mediaItems.search in Google apps script for a spreadsheet
I really tried to figure this out on my own...
I am trying to load photo metadata from google photos into a sheet using the Google Photos API and google apps script.
I was able to make some progress after a lot of help on a previous question
Is it…
![](../../users/profiles/11781157.webp)
Isaac Guerrero
- 33
- 4
3
votes
2 answers
Retrieve file size for videos stored on Google Photos
Context: I wanted to see how I'm using my Google Photos space and I wrote a little script in Python that uses the Google Photos API to retrieve all my albums and it's contents (using…
![](../../users/profiles/327694.webp)
Josep Valls
- 5,102
- 2
- 30
- 59