예제 #1
0
        public ResponseEnvelope Retrieve(EventFilter filter, int limit = 250)
        {
            var querystring
                = new QueryStringBuilder()
                  .Add("limit", limit)
                  .Add(filter.ToQueryStringBuilder())
                  .ToString();

            var url = "/admin/api/2019-10/events.json?" + querystring;

            return(_httpClient.Get(url));
        }