예제 #1
0
      public int Count(SearchRequest request)
      {
         string json = this.ExecuteGet("/search/count", request.GetQueryParams());
         JObject ret = JObject.Parse(json);

         return ret["count"].Value<Int32>();
      }
예제 #2
0
      public SearchResponse Search(SearchRequest request)
      {
         string json = this.ExecuteGet("/search", request.GetQueryParams());
         SearchResponse ret = JsonConvert.DeserializeObject<SearchResponse>(json);

         return ret;
      }