Google Plus API & photos? - google-api

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.

Related

Accessing Google Family Link API

Hy,
I want to create a widget that show me some informations from Google Family Link.
But I can't find how to access to Google Family Link API.
I read this page of Google API list but didn't found it : https://developers.google.com/apis-explorer?hl=fr
Can someone please show me where to find Google Family Link API doumentation please ?
At this time there is no api for Google Family Link. I wonder weather or not google would want third party developers creating apps for it.
The whole point of Google Family Link is to keep things secure and protected for children.

How to get place description using Google API or any other API?

I am using Google API to get the place information and store it into database. Using Google API I am able to get address, opening hours, rating and reviews as shown in below image.
But, I am not able to get place description which is highlighted in below image in red circle. ("Quaint Italian mainstay for deep-dish, Chicago-style pizza, calzones, pastas & hot dogs.")
I want that information in my application. I think google is taking those information from
Freebase https://developers.google.com/freebase/guide/basic_concepts
Wikipedia https://www.mediawiki.org/wiki/How_to_contribute
But I am not sure.
Can any one help me suggest me that how I can get that information or any other API that I can use to get that information based on google place_id.
Any help would be highly appreciated.
Thank you
Accordingly to the documentation and #xomena, currently you cannot obtain this data via Places API. There is a feature request in Google issue tracker to make the detailed business type available in Places API, however Google doesn't expose any ETA (estimation time of arrival:
https://issuetracker.google.com/issues/35822953
Feel free to star this feature request to express your interest and subscribe to notification from Google.
To my knowledge it is not possible to get this information from the Google Places API. The API documentation does not display the venue description. Try to have a look here: https://developers.google.com/places/web-service/details (it might be that Google does not share all information from their platform with other developers..).
I would suggest you to do one of the following (or perhaps both):
Scrape Google the old school way; i.e. by getting the information from the HTML. There is a quite decent guide for doing that here (you would of course have to adjust the example to scraping Google instead): https://medium.freecodecamp.org/how-to-scrape-websites-with-python-and-beautifulsoup-5946935d93fe.
What I would recommend and which probably is the fastest: enrich your current data with other data. You could e.g. use Foursquare and search for the places you get from Google. It should be possible to get the description for each place on Foursquare. See here: https://developer.foursquare.com/docs/api/venues/details. If you have problems with matching the places after your query has returned, because the venue names are not exactly the same - but close, then you could use an algorithm to match strings that are close; perhaps using the levenstein distance (https://en.wikipedia.org/wiki/Levenshtein_distance).

Add user review to Google map from my application(Android)

I am trying to create a location-based services Android application. I had successfully getting the user reviews from Google Places API by following the guidance from this link.
https://developers.google.com/places/documentation/details
I also found many posts regarding how to get user reviews from Google Places. But Now I want to create a function which user can insert reviews from my application. Is there anyway to do that?
Thanks.
No. There is no API for writing review. Also the Google+ mobile URL doesn't have the write review option from last year. Its a bug , but Google is not fixing this.
There is only one way to write review is through desktop URL. I have a similar location base app in play store where I have done some workaround to show desktop site to write review.

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.

How to get "My Reviews" from Google

A want to query Google for the reviews I have made. I thought this could be done either through the Maps API or the Google+ API but I can't find the call to satisfy my need.
Is there any way this could be done?
We don't currently support returning reviews content in the Google+
API. However the top 5 reviews for any given place are available via
the Google Places API:
http://googlegeodevelopers.blogspot.com/2013/01/expanding-reviews-content-in-google.html
http://googlegeodevelopers.blogspot.com/2012/07/add-flexible-search-and-google-reviews.html
Source

Resources