Can i use google places api in Turkey ?
Because when I send the parameters,i take zero results
How can I fix it ?
If you're typing the parameters (and they're not sent dynamically) try another country. If you still take zero results you're doing something wrong.
Related
When searching for a specific place in the Google Places API I found out that Google delivers results far away from the restriction I sent with.
For example:
https://maps.googleapis.com/maps/api/place/findplacefromtext/json?key=<mykey>&inputtype=textquery&input=<PlaceQuery>&fields=name,geometry&locationbias=circle:200#<lat>,<lng>
In this query above I tried to find a place in a specific circle (200 metres) around a point lat lng. (Removed for this post)
Google does it's work but when I enter a place to search for which is definitely not in the region I specified it still finds the place.
Did I misunderstood something with this type of search query? Or is it a mistake at googles end?
Im still figuring how to use google map api's, I want to get all locations in my country (nigeria) and then put it in a dropdown, an example is something like jiji.ng, when trying to search they have a drop down with info of places, states etc in Nigeria, when the user searches it filters the locations, i tried typing in 'United State of America' & it showed me nothing because it is limited to Nigeria only, that is exactly what i want, check out jiji.ng pls, just to be sure.
Google map is not really needed in doing this, You can download the list of places from Geonames then you can use it within your app (To my understanding, its free maybe only some licences)
Kind of what it says on the tin: is there an API method, anywhere in the Google Maps/Directions/Geocoding APIs, that gives the bearing of a street relative to north when given a PlaceID? I've already tried maps/api/place/details, but it doesn't seem to contain the information I want.
I hope this will help you.
Try this:
https://maps.googleapis.com/maps/api/directions/json?origin=Disneyland&destination=Universal+Studios+Hollywood4&
I'm curious to know how Market Samurai, Long Tail Pro and other software handle retrieving the top 10 Google search results and not running into limits. It appears that these software packages use the users own Google account. Google Custom Search limits users to 100 queries per day (the free limit) but people tend to do keyword research on hundreds or even thousands of keywords per day and don't pay any additional amounts to Google.
Are they paying extra for this service, are they using a different API (perhaps the Adwords API?) or are they scraping the Google search results page (violation of TOS)? Really would like to know! Thanks.
i have done this in one of my project (in java).
this is very simple, in java there is one library call JSoup by using this library you can send get request to google, for example:
https://www.google.co.in/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=<your url encoded search term>
this will return you an HTML code of google search result with your own term.
using Jsoup u can find specific HTML tag with specific class or id. this concept helps you to extract url link, title and description from google search result.
for working example check here, in that example you can extract google serach result links with custom search term.
i hope this will help you.
I am looking for geocodes with the google geocode-API:
http://maps.googleapis.com/maps/api/geocode/json?address=london%c2+UK&sensor=false
The problem is, that the input isn't very accurate (specially the street) and sometimes google mixes things up and ignores UK, because the street has a perfect match (as street and city) somewhere else. e.g. US.
Now i cannot solve this issue (input data), but I am wondering if there is a parameter, which forces google to search in UK and return no result instead of a completly wrong result.
You can add component filters in the url to constraint results. In this case you can use:
http://maps.googleapis.com/maps/api/geocode/json?address=london%c2+UK**&components=country:UK**&sensor=false
For more information about how to use component filtering see:
https://developers.google.com/maps/documentation/geocoding/intro#ComponentFiltering