public async Task<List<PoiData>> RadialSearchAsync(RadialSearchQueryParams queryParams) { using (var client = new HttpClient()) { var url = string.Format("{0}/{1}?{2}", _url, "radial_search", queryParams.ToUrlParams()); var response = await client.GetAsync(url); var content = await response.Content.ReadAsStringAsync(); return ResponseUtils.BuildPoiResponse(content); } }
public async Task <List <PoiData> > RadialSearchAsync(RadialSearchQueryParams queryParams) { using (var client = new HttpClient()) { var url = string.Format("{0}/{1}?{2}", _url, "radial_search", queryParams.ToUrlParams()); var response = await client.GetAsync(url); var content = await response.Content.ReadAsStringAsync(); return(ResponseUtils.BuildPoiResponse(content)); } }
public List<PoiData> RadialSearch(RadialSearchQueryParams queryParams) { return RadialSearchAsync(queryParams).ResultSynchronizer(); }
public List <PoiData> RadialSearch(RadialSearchQueryParams queryParams) { return(RadialSearchAsync(queryParams).ResultSynchronizer()); }