I'm using Google Books API, to check if a book is in the Google Play Store.
Now I'm wondering my assumption is correct:
If the API returns title with a property value for_sale, this book
title is automatically available in Google Play Store.
Due to the fact that using this url:
https://www.googleapis.com/books/v1/volumes?q=isbn%3D$9789460420726&maxResults=1&printType=books&showPreorders=true
tells me that totalitems = 0.
But when I search for the book in Google Play store, I can see that the book is available:
https://play.google.com/store/books/details/Freddy_Willockx_Hier_klopt_mijn_hart?id=_rkZBAAAQBAJ
A URL with a book that has the correct information:
https://www.googleapis.com/books/v1/volumes?q=isbn%3D$9789044976830&maxResults=1&printType=books&showPreorders=true
https://play.google.com/store/search?q=9789044976830
Hope someone can help me out.
My guess (and it is just a guess) would be a location issue. Following the link you gave shows me the book, but I cannot purchase it (I am in the UK).
It is possible the API returns for_sale for books that are for sale in the US, or for sale in all locales, or some other definition. Or maybe your API call is not being identified as coming from the correct country.
Related
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.
When use new Google People API to get a Person object, is there a relation between Person.Metadata.Sources[0].id and Person.ResouceName? like the resouceName is calculated from the Person.Metadata.Sources[0].id
The reason why I asked this is in the old Google Contacts API, we store the contact URL like https://www.google.com/m8/feeds/contacts/[email]/full/3c8fcc428ca19658 which I noticed the suffix string 3c8fcc428ca19658 is the same as the Person.Metadata.Sources[0].id in new Google People API, so we can easily know the old URL match which resouceName?
Yes, you can calculate a resourceName from a contact-ID but it's not documented and cannot be trusted to work, however a Google engineer privately guaranteed this should work in the next month.
See original answer here: https://stackoverflow.com/a/46355535/819355
and discussion in comments here: Is there any way to get Google People API resource ID from Google Contacts contact Id?
Just notice Google Place API has this update, the problem is all of the names are changed to A Google user and it looks like including people is not posted by anonymous:
author_name the name of the user who submitted the review.
Anonymous reviews are attributed to "A Google user".
https://developers.google.com/places/web-service/details#PlaceDetailsResults
I am using a simple JS plugin to display reviews on a website, right now all of the Review author names are changed to A Google user: https://github.com/peledies/google-places
Here is the demo: https://jsfiddle.net/1ta6ekc2/14/, and I try to change a lot of places which the author name is still the same.
From a normal search popup review page, all of those review author names are fine: https://www.google.ca/search?ei=JwKQW-3zB4i6tQXSpZjwBg&q=citizenM+New+York+Times+Square+Hotel&oq=citizenM+New+York+Times+Square+Hotel&gs_l=psy-ab.3...3952.3952.0.4677.0.0.0.0.0.0.0.0..0.0....0...1.2.64.psy-ab..0.0.0....0.3si1JLloRdA#lrd=0x89c258564165b30f:0xdebbed18bae58050,1,,,
Is that a bug or just a new rollout feature from Google? Thanks!
This has been acknowledged as a bug in the Google Advertiser Community here:
https://www.en.advertisercommunity.com/t5/Basics-for-Business-Owners/name-of-reviewer-Not-Showing/td-p/1797837#.W5Aiz-hxgeA.gmail
When setting product dictionary keys for SKStoreProductViewController the Apple API Documentation mentions a new for iOS 8.3 token called SKStoreProductParameterProviderToken that can help with affiliate promotions. There is no further description on where to find the value of this token, and the suggestion in the above link to review the Viewing App Analytics link had no mention of this new token at all.
Does anyone know where you find this? I don't see it my iTunes Connect or the Developer Portal.
Unfortunately the accepted answer is not completely correct.
It is this way:
SKStoreProductParameterCampaignToken is a name for your campaign you can invent and can be any String (max 40 bytes in length).
SKStoreProductParameterProviderToken is the developer's Provider ID, who wants to see the campaign in the iTunesConnect App Analytics. You can look up the Provider ID here.
Finally burned an incident and just asked Apple directly to clarify.
For others who may hit this, the API documentation at the time of this post is missing some important details on this new SKStoreProductParameterProviderToken.
This token value is supplied by you, the developer, to assist in tracking your iTunes Connect App Analytics campaign. It is an NSString instance which is 40 bytes in length and only available in iOS 8.3 and above. No more, no less.
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.