Groups
Sign in
Groups
Google Apps API Japan
Conversations
Labels
About
Send feedback
Help
Google Photos APIでオリジナルの写真をダウンロードする方法
64 views
Photos
api
Skip to first unread message
hikochang
unread,
Nov 17, 2018, 10:24:48 PM
11/17/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Apps API Japan
現在はDrive APIで写真データをダウンロードしているのですが、アルバム構成を維持したままダウンロードしたいと思ってます。
Google Photos APIを使用して写真をダウンロードしたいのですが、オリジナルの状態のデータをダウンロードする方法がわかりません。
mediaItems.listでbaseUrlやproductUrlなどを取得できるのですが、オリジナルの画像データをダウンロードするためのURLは取得できません。
一番目的に近いのはbaseUrlに"=d"を付加してEXIF込みでダウンロード方法ですが、これだとGPS情報が消えてしまうので他の方法を探しています。(以下参照)
https://developers.google.com/photos/library/guides/access-media-items#base-urls
例:
https://lh3.googleusercontent.com/p/Az....XabC=d
何か良い方法がないでしょうか?
Reply all
Reply to author
Forward
0 new messages