Example #1
0
        private FacetResponse DoQuery(string endpoint, FacetQuery query)
        {
            var communicator = new Communicator(this);

            return(communicator.GetPayload <FacetResponse>(endpoint, query.ToParameters()));
        }
Example #2
0
 public FacetResponse GetIp(FacetQuery query)
 {
     return(DoQuery("api/facets/ip", query));
 }
Example #3
0
 public FacetResponse GetInput(FacetQuery query)
 {
     return(DoQuery("api/facets/input", query));
 }
Example #4
0
 public FacetResponse GetDate(FacetQuery query)
 {
     return(DoQuery("api/facets/date", query));
 }
Example #5
0
 private FacetResponse DoQuery(string endpoint, FacetQuery query)
 {
     var communicator = new Communicator(this);
      return communicator.GetPayload<FacetResponse>(endpoint, query.ToParameters());
 }
Example #6
0
 public FacetResponse GetIp(FacetQuery query)
 {
     return DoQuery("api/facets/ip", query);
 }
Example #7
0
 public FacetResponse GetInput(FacetQuery query)
 {
     return DoQuery("api/facets/input", query);
 }
Example #8
0
 public FacetResponse GetDate(FacetQuery query)
 {
     return DoQuery("api/facets/date", query);
 }