/// <summary>
        /// Gets the suggestions asynchronously.
        /// </summary>
        /// <param name="request">The request.</param>
        /// <returns></returns>
        public async Task <AutosuggestResponse> GetSuggestionsAsync(AutosuggestRequest request)
        {
            var requestUrl = string.Format("{0}/?q={1}", this.Url, WebUtility.UrlEncode(request.Query));

            if (!string.IsNullOrEmpty(request.Market))
            {
                requestUrl = string.Format("{0}&mkt={1}", requestUrl, request.Market);
            }

            var responseJson = await this.SendGetAsync(requestUrl);

            var response = JsonConvert.DeserializeObject <AutosuggestResponse>(responseJson);

            return(response);
        }
 /// <summary>
 /// Gets the suggestions.
 /// </summary>
 /// <param name="request">The request.</param>
 /// <returns></returns>
 public AutosuggestResponse GetSuggestions(AutosuggestRequest request)
 {
     return(GetSuggestionsAsync(request).Result);
 }