Can you use the Google Photo API with the Google picker? - google-api

My understanding is that the Google Picker can be used to select "Picasa" photos and albums. However, since the Picasa API has now been shutdown, the ids returned by the picker are completely useless (at least as far as doing anything with the returned IDs goes).
There is a Google Photo API but I'm not aware of a Picker that returns IDs compatible with it.
So, does anyone know of a way to use the (very pretty and functional) Google Picker (technically for Picasa but still shows Google photo albums) with the Google Photos API?
Perhaps some way to exchange the Picasa IDs for new Google API ones?

Related

Generate Google Photo link from Google Picasa Web API data call

I am currently trying to generate a url to link to a public Google Photos gallery. I am aware from some research that all calls regarding Google Photos go through the Picasa API. So, by running file_get_contents on the following URL, I have retrieved a full listing of all public albums on my user account
http://picasaweb.google.com/data/feed/api/user/<USERNAME>?alt=json&kind=album&hl=en_US
This works perfectly and includes links to the gallery in Picasa. However, I would much prefer to be able to generate a link to the corresponding Google Photos gallery. On sharing Google photos, a shortened url is generated, like
https://goo.gl/photos/code
I was wondering if there was any possible way, given the album ID from the API call that such a link could be generated
Previous questions on this subject haven't generated much response unfortunately - is anyone aware of any such Google link generation capability?

Which Google APIs to use?

I want to do the following things in my iOS app:
Let a user create a new Google Spreadsheet, or choose from a list of
existing Google Spreadsheets
Let my app read data from a Google Spreadsheet
Let my user edit a Google Spreadsheet, either by embedding the
spreadsheet, or by switching over to Safari or a Google app.
There are a lot of Google APIs out there…which should I look at to accomplish the above three tasks?
Thanks!
You need the Drive API to create sheets: https://developers.google.com/drive/
You need the Sheets API to work with them (editing the file): https://developers.google.com/google-apps/spreadsheets/?hl=en
You can find information on how to authenticate your Google requests (OAuth2) in the linked pages. The Drive API is built into the Google play services library but you'll need to get the Sheets API separately.

Is there a Google Play Movie API?

Trying to integrate Google Play's Movies and Series into http://www.BAGmovies.com, so our users can know which movies are for rent in Google Play
Is there a Google Play API for movies? I'm looking to
Make a call (e.g. with a Movie Title or Movie ID)
Get Availability / Price
Thanks!
Jaime
No, Google doesn't provide APIs for the features used in Google Play, Google Movie or Google Music apps. There are some inoffical Documentations/Libraries (reverse engineered), but I wouldn't recommend the usage of them. Especially not in a commercial background.
Yes, There is an API you can enable for Google Movies Anywhere. However, the API is for app integration, I'm not sure if you are trying to do web.
It's possible you do not need to use the API - an example intent for your first point:
Intent movie = new Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/movies/details?id=" + movieId));
startActivity(movie);

Google Plus API & photos?

As I understand, there's no official G+ API for getting photos from albums.
But I've figured out from here that Google Plus uses Picasa internally.
My questions are:
Is it possible to figure out only via G+ API Picasa userId?
If yes, how can I do it with G+ API if I only have the Google Plus page URL(something like this: https://plus.google.com/104560124403688998123 - or - https://plus.google.com/115999964287637644901) ?
Thanks in advance.
The link you "figured it out from" tells what you need to know. That first big number in the page URL is the UserID. From there you can call something like:
https://picasaweb.google.com/data/feed/api/user/115999964287637644901
and it will give you a list of the albums available. Drill down from there.
Downside? Sometime soon Google is no doubt going to change all this by implementing a real G+ API for photos.

Get Google Page main photo?

I am using Google Places to render some hotels from a specific area in a website. I was able to get the details like:
https://maps.googleapis.com/maps/api/place/details/json?reference=CoQBfAAAAGnd67oCT886cIfOC8m57hGAHyf9saAs8hueRcbguA22mPcazjkk23BWMUOgvrigofuwM1HfRGpLcFtF1WXxv3_n8gb6WgXfaqQFbA0U4_ytSyLyksipx2tjwWU-3EW39ePYtpYhiCwRq9xlNI72Ah4Wv0WytqiJOTF49iTBwCD9EhD1ez5NJDr-pZMI9WagObi3GhQmn9Dum95KN61ZKamJ27wUoJxjvQ&sensor=true&key=[google_key]
If you see the result, it also has a url to official google page.
Is there any way to get the photo of this place from there?
Because the icon parameter does not have the image from here but a specific google image which is the same for all lodging types places.
The Google Places API does not currently support this feature. If you believe this would be a useful feature you can submit a `Places API - Feature Request' here:
http://code.google.com/p/gmaps-api-issues/issues/entry?template=Places%20API%20-%20Feature%20Request
Google Places API Photos like Google Maps Photo. It is not Business Photo.

Resources