Exemplo n.º 1
0
        public void ExcelDownload(GoogleApisAnalyticsReportingRequestModel model)
        {
            var gaData = garService.GetData(model);
            var data   = gaData.Select(x => new {
                날짜 = x.Date.ToString(),
                PV = x.PageViews,
                UV = x.UniquePageviews
            }).ToList();

            common.ExcelDownLoad(data, "GA데이터_" + DateTime.Now.ToString("yyyyMMddHHmmss"));
        }
Exemplo n.º 2
0
 public List <GoogleApisAnalyticsReportingResponseModel> Get([FromUri] GoogleApisAnalyticsReportingRequestModel model)
 {
     return(garService.GetData(model));
 }