I am trying to provide useful information on an area to users based on a search term and their location.
I thought googles geo api would return a best match list of results for a query such as "swimming+pool+'my location' that I could then place an annotation for each result in my map view but it only returns one best match location.
How can I go about doing this?
The Google gecoder only handles addresses. Google provide a completely separate API which will geocode business names and categories, the Google AJAX Search API in Local Search mode
Bing's map api will return multiple results for a business search near a location - which is essentially what you're doing. Unsure about Google's results.
You can't use Google's HTTP API for business info. You should take a look at Yelp or Foursquare's APIs, I think.
Related
Filtering data based on a top level resource is straightforward, but what is the proper syntax for the url when attempting to filter based on a nested resource? For example, if I want to return all tasks but only for open matters, how should I enter that into the URL endpoint since the Matter Status is a nested resource under Tasks?
I do not see the method for filtering based on nested resources covered in the Clio API documentation.
As far as I understand, you can only filter by the options Clio's API provides. For example when querying a Matter, you can filter by an originating_attorney_id but not a user_id as the API doesn't provide a way to do that. You'll just have to pull in all the data and filter it in your code logic.
You can reach out to the Clio API team and ask them to add a specific filter option and see if they'll do that for you. I've found that they are at least willing to have a dialog.
I want to use markers in a map for a start point and endpoint. By searching I found that the way to do that is to use autocomplete, get some suggestions, and based on the place ID of the selected suggestion to return the longitude and latitude of the place by calling the places details API by ID. So I would like to know if there is any better way to avoid using the places details API which is one of the most expensive Places details table cost. Is there any way to get the just geolocation of a place based on the place ID?
You can use the Geocoding API (or the Geocoding Service in the Maps JavaScript API) to fetch a place from its Place ID, simply use the place_id parameter in the web service, or include (only) the placeId field in the JavaScript request. While the Geocoding API returns only a subset of the fields provided by Place Details, it should lower the cost by about 70%.
However, when using this approach there will be an additional cost for Place Autocomplete billed by request, because the Geocoding API does not support the session token that enables billing per session.
I am trying to search for a list of envelopes in Docusign with the similar title/name. Is there a way to do this in REST API? The closest i can find is the SearchFolder API but it seems like it only allow to specify dates, folders (Draft,Sent etc) without a way to search by title.
yes, you can do that using the v2.1 API.
See here https://developers.docusign.com/esign-rest-api/guides/concepts/envelopes/search
using the search_taxt query parameter you can search for a specific text.
GET
/v2.1/accounts/4644/envelopes?search_text=Tabs&from_date=2019-03-04T00:00:00.000Z&to_date=2019-03-07T00:00:00.000Z
I read the Bing documentation but can't find a way to query Bing for local listing information such as name, address, phone, website, claimed or not, number of reviews and some snippets, and images associated with the listing if any, etc. Is there any RESTFul search API for this purpose? Could you point me to the correct API?
Thank you a lot.
You will be able to find this kind of information in Bing Maps for Enterprise platform.
Here some links that might be helpful:
Bing Maps REST Spatial Data Service (Public Data sources):
NAVTEQEU: http://msdn.microsoft.com/en-us/library/hh478193.aspx
NAVTEQNA: http://msdn.microsoft.com/en-us/library/hh478192.aspx
Bing Maps REST Location API, if you're looking for geocoding and places:
http://msdn.microsoft.com/en-us/library/ff701711.aspx
Bing Maps SOAP Search service (consider not using it, I recommend to use REST instead of this one)
http://msdn.microsoft.com/en-us/library/cc980849.aspx
Bing Search 2.0 also includes location information, see on Azure Data Markeplace:
http://datamarket.azure.com/dataset/bing/search
You should be able to find what is appropriate to your needs and also keep in mind the licensing associated to those platform and services.
In my iPhone application I find the latitude and longitude using the location API available. I want to reverse geocode that and get the country code. But without using 3rd party or external API call I would like to get it. When researching I found that MKReverseGeocoderDelegate will be useful for this. But I dont have any requirement to use google maps. I want to know whether my approach is ok to get the current country where user resides.
Thank you
From the MKReverseGeocoder class reference:
The Google terms of service require
that the reverse geocoding service be
used in conjunction with a Google map;
take this into account when designing
your application's user interface.
So, that means you can't use it without using Google Maps (MKMapView).
I recommend looking at an existing SO question that covers what you want to do - How to get user's country information