Ejemplo n.º 1
0
        public ResponseModel GetSearchResult()
        {
            GoogleResponseModel result = GetSearchResult(GetUrl(language)).Result;

            return(new ResponseModel {
                Engine = "GOOGLE",
                Name = language,
                Total = result.queries.request[0].totalResults
            });
        }
Ejemplo n.º 2
0
 private long GetTotalResults(GoogleResponseModel result) =>
 result.queries.request.First().totalResults;