google maps api get countries and cities - api

Can i have autocomplete with ajax to get countries from google maps api.
When someone type "United" to search on google maps api for that country and to show results for similar ?
Can you give me example, or link to that solution for google maps api ?

Have a look at the Google Places Autocomplete API. Here is a blog post to get you going.

Related

How to get description for Google API nearbysearch items

I am developing a web app for client requirement in that i am using Google API for finding nearby place
https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=.....
I was able to get all the required details. Name, rating, etc but only description is missing. will i be able to get it from anywhere, i tried
https://maps.googleapis.com/maps/api/place/textsearch/json?query=...
but not getting required result only country or place is getting here not restaurant or venue description. Please help me to get details for each item in nearby search result. Or any other suggestions
Based on the documentation of both Google Places API Nearby Search Requests and Google Places API Text Search Requests, description property is not included in the returned results. You could rather file for a Feature Request to include description to each returned places in the results here at Google Public Issue Tracker.
Issue Tracker is a tool used internally at Google to track bugs and
feature requests during product development. It is available outside
of Google for use by external public and partner users who need to
collaborate with Google teams on specific projects.
You can learn more about Issue Tracker through this link.
I would also like to suggest to read Google Places API Place Details. It returns more comprehensive information about the indicated place such as its complete address, phone number, user rating and reviews.
Hope this help!

How to get Ads information from Bing Web Search API?

When I go through Bing Search API. I find that "Get web, image, news, & videos results for a given query."
However, I want to get some Ads information of keywords.
For example, after searching keyword "credit card" in bing.com, I can get the ads on the right, top, bottom of the page.
So, can I get Ads information from Bing Web Search API? Thank you so much!
Bing Web Search API doesn't provide Ads. It is meant for ads-free experience. For getting Bing Ads, you can try Bing Ads API: https://advertise.bingads.microsoft.com/en-us/resources/bing-partner-program/become-an-api-developer.

How can i get "Events" in a city from Custom Search API or Knowledge Graph Search API?

I want to get the events from a city from Custom Search Api or Knowledge Graph Search Api. Is it possible?
In a normal google search it would be like
this
or like this.
I don't believe Google has an api for what you are looking for. Try the Songkick or LastFM apis.

how to get location name if i have latitude and longitude in Yahoo Maps

I am designing a web application which will use Google Maps and Yahoo Maps. But I am searching for yahoo api to get location address using lat and long. Google Api is not working properly. They have very close limitations. Please help me..!
If you haven't already tried, you should use the "Reverse Geocoding (Address Lookup)" feature of the Google Geocoding API.
Details here: https://developers.google.com/maps/documentation/geocoding/#ReverseGeocoding
If you have tried that and aren't satisfied, you should check out Yahoo's Place Finder API. That let's you search for addresses by passing lat/long coordinates. See links below:
Overview: http://developer.yahoo.com/boss/geo/docs/requests-pf.html
Passing lat/long: http://developer.yahoo.com/boss/geo/docs/address-formats.html#latitude-longitude

Get reviews with Google Search API for Shopping

Is it possible to get the reviews of a product using Google Search API for Shopping.
I mean... If I look for an Iphone 4G. How do I get the reviews for that product? They are in the search results, but no when using the API
thanks
Those reviews are not currently available from the Search API for Shopping.