I'm working on a widget where we pull info from Google news.
I know how to get a publisher ID number, for example, CNN's ID is 669475. However, how do pull information about a specific publisher from their ID number? For example, how would I find their official name and their domain?
I can't find any documentation on this whatsoever. I don't need a ton of information, really just the name of the news station and their domain.
The Google News Search API has been officially deprecated as of May 26, 2011.[...]
From https://developers.google.com/news-search/
Related
I wonder if I can get working places for all users from organization using calendar API. Coworkers from my organization uses google calendar to mark if they work from home or office. I attach screen to show what I am talking about.
I've searched many endpoints from calendar API but did not find suitable one. Is it possible to get those information from API?
It is not yet possible to retrieve those information from the API.
But Google already documented it (tutorial, API reference) and it should come at some point in the (hopefully) near future.
Here is the related issue in their tracker : https://issuetracker.google.com/issues/199918380
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?
There is an API listed in Google APIs (oAuth2) that can be enabled with the service name invoice.googleapis.com. As per the description, it supposedly allows you to fetch Billing invoices for products like Google Adwords, Enterprise etc.
However, there does not seem to be any documentation available online. The PHP client (the one I'm using) also doesn't have an implementation for this.
Does anyone have any more information about this? Is this still in development?
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).
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.