Google Place NearbySearch for Lodging with Price - google-places-api

I want hotel/lodging list within a particular price range.
I tried with maxprice and minprice filter but its returning empty results.
Here is my google places API :
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=18.563102,73.785511&type=lodging&rankby=distance&minprice=0&maxprice=5&key=your_key
But its not returning any result.
Is there API to fetch 'lodging' list within required price range? or get two star hotels?
Please let me know your solutions.
Thank you

The issue here is that when you are looking for hotels/lodging places, there is no 'price_level' attatched to these places like if you were to search for a restaurant using the google places api.

Related

Return a list of keywords associated with a place id in Google API?

Google API allows to retrieve a list of places based on Text Search in an area and the place_id initially retrieved can then be used with Place Details to get more information. However Google doesn't provide relevant keywords associated with this place. I am wondering if given a known place_id, it is possible to search all the associated keywords that would have return this result in a Google search otherwise.
For instance, a Text Search for "Mexican" Restaurant in Chelsea would return a number of places including place_id X. If you search for "Tacos" in Chelsea, it may return a number of places also including place_id X. Is there a way for me to query details about place_id X and return keywords "Mexican" and "Tacos" ?
If not, is there a cost-effective workaround? I thought about creating a master keywords database of 1000+ terms relevant to my market and then query every term in all the areas my app intends to serve and associate each keyword search with place ids but it may cost me a lot vs. querying these details with known place ids directly.
Thank you!

Google Search Appliance sort by metadata content

I'm trying to refine the search results received by my application by including the sort parameter in my HTTP requests. I've combed through the documentation here, but I can't find exactly what I'm looking for.
I'm searching for DOC filetypes, and I am able to sort by date or sort by metadata, as in alphabetizing by title, author, etc. I can also filter by whether or not the title contains certain keywords. What I want to do is to sort by whether or not the title contains certain keywords (these documents appearing first in the results), but to still keep the other results.
For example, with keywords [winter, Christmas, holiday] I could do a descending sort by the sum of inmeta:title~winter, inmeta:title~Christmas, inmeta:title~holiday and the top result might be
Winter holidays other than Christmas
followed by documents with one or two of the keywords, followed by documents that meet the other search parameters but contain no keywords.
Is this possible in GSA?
I finally achieved what I was trying to do, so figured I'd post in case it helps anyone else.
As far as I know, it is impossible to create a query with this capability, but with Google's Custom Search API, you can create a search engine with the desired keywords in the context file (by editing the XML file directly or by adding keywords through the CSE console). Then you can formulate the query as usual, but perform the search on your personalized engine.
https://developers.google.com/custom-search/docs/ranking

Using Bigsheets I want to refine my twitter tweets, like removing url, and # tags etc

Is there any formula or functions which I can use to remove URL and #tags etc which come when we get the tweets using twitter in the node. I also need to make new columns which would contain the tweets which have specific keywords. But when I use the inbuilt formula "contains" in IBM BigSheets it is not of much help.
Finally, I need my result to extract the tweets into different columns based on the sentiment score they have got. I have attached my "twitter in" node with sentiment node to get the sentiment score. Therefore, it should make separate columns based on the score it has got and also based on the keywords it contains. Can we create a function to do so?

google place api Incorrect Results

Hi I have a problem with displaying the results of a google place api
When I write nightclub Google search I get results that match my search
But when I search through google place api I get the results is not so correct as Bookstore, apartments for rent and other results not so related
The URL looks like this
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=32.0768214,34.8147987&radius=5000&keyword=Nightclub&sensor=true&language=en&key=MyKey
Thank you!
As the docs state:
keyword — A term to be matched against all content that Google has indexed for this Place, including but not limited to name, type, and address, as well as customer reviews and other third-party content.
So that filter isn't going to be quite as specific as you would like. If you only want to get night clubs, you can use the types param with a value of night_club. See Supported Place Types for all of the other possible values.

Google API insight raw numbers

I was wondering if there is an option in google Insights (or in any other Google API) to query how many times a specific word or phrase has been queried in Google, grouped by Country, State and City.
The problems with Google Insights is that it give me only an average information, and not the exact amount, so it ends up not showing all the cities.
Look here:
http://www.google.com/insights/search/#q=pizza&geo=AU-NSW&date=1%2F2004%2085m&cmpt=q
Querying all terms "pizza" was searched from 2004 until 2011 in the country Australia and state New South Wales.
It shows up only "Sydney", what is definitely wrong.
Any ideas?
Thanks..
Diego Trigo
No. Although many claims to be but there is no service that can tell you the exact number of a query searched in Google nor in any other search engine.
You can also try Google trends as an add to information.

Resources