Пример #1
0
        public void StartSearchAsync(string whatFor, Action <BookSearchResult> success, Action <Exception> error)
        {
            string address = string.Format("https://www.googleapis.com/schedule/v1/volumes?q={0}",
                                           Uri.EscapeDataString(whatFor));

            _simpleRestService.MakeRequest <BookSearchResult>(address,
                                                              "GET", success, error);
        }
Пример #2
0
        public void StartSearchAsync(string whatFor, Action <ScheduleSearchResult> success, Action <Exception> error)
        {
            string address = string.Format("http://ciafadmin.herokuapp.com/api/schedule?q={0}",
                                           Uri.EscapeDataString(whatFor));

            _simpleRestService.MakeRequest <ScheduleSearchResult>(address,
                                                                  "GET", success, error);
        }