Uploading a file with google photos API
See original GitHub issueHi, I am trying to upload image, video via photoslibrary v1 API. But I am not getting how to upload? There are no demos and no clear documentation upon how to do it?
from googleapiclient.discovery import build
service = build('photoslibrary', 'v1', credentials=credentials)
It does not have API with for MediaFileUpload https://developers.google.com/api-client-library/python/guide/media_upload
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Upload file data | Google Drive
The Drive API lets you upload file data when you create or update a File . For information about how to create a...
Read more >Can upload photo when using the Google Photos API
using the new Google Photos API. I am able to get an uploadToken but when I try to create the media item I...
Read more >Upload With The Google Photos API - Filestack Blog
Integrate the Google Photos API into your app to allow users to upload files directly from Google Photos without ever leaving your app....
Read more >How to upload files with Google Photos API in 10 ... - Medium
To upload a file to Google Photos using its API, we have to make 2 different calls. First, you have to make call...
Read more >eshmu/gphotos-upload - GitHub
Obtaining a Google Photos API key · Replace YOUR_CLIENT_ID in the client_id.json file with the provided Client ID. · Replace YOUR_CLIENT_SECRET in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I do using
requests
.Hello! The photos API is maintained separately. Here is their support page. The Photos API has Java and PHP client libraries, but not one for Python. You can interact with the Photos REST API via
requests
in Python.If a Python client library is of interest, it may be worth putting in a feature request. There is more information on how to do that on the support page.