示例#1
0
        /// <summary>
        /// advanced search based on search options object
        /// </summary>
        /// <param name="options"></param>
        /// <returns></returns>
        public SearchResults Search(SearchOptions options)
        {
            var raw     = makeRequest("search", null, options.GetParameters());
            var results = JsonConvert.DeserializeObject <SearchResults>(raw);

            return(results);
        }
示例#2
0
        /// <summary>
        /// advanced search based on search options object
        /// </summary>
        /// <param name="options"></param>
        /// <returns></returns>
        public Task <SearchResults> Search(SearchOptions options)
        {
            var result = makeRequest <SearchResults>("search", null, options.GetParameters());

            return(result);
        }