/// <summary> /// Gets historical data based on the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns an instance of <code>AnalyticsDataResponse</code> representing the response.</returns> public AnalyticsDataResponse GetData(AnalyticsDataOptions options) { if (options == null) throw new ArgumentNullException("options"); return AnalyticsDataResponse.ParseResponse(Raw.GetData(options)); }
/// <summary> /// Gets historical data based on the specified <code>options</code>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>Returns an instance of <code>SocialHttpResponse</code> representing the response.</returns> public SocialHttpResponse GetData(AnalyticsDataOptions options) { if (options == null) throw new ArgumentNullException("options"); return Client.DoAuthenticatedGetRequest("https://www.googleapis.com/analytics/v3/data/ga", options); }