/// <summary> /// Gets a list of news items for the app (game) matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response.</returns> public SocialHttpResponse GetNewsForApp(SteamGetNewsForAppOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.DoHttpGetRequest("/ISteamNews/GetNewsForApp/v2/", options)); }
/// <summary> /// Gets a list of news items for the app (game) matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the request to the API.</param> /// <returns>An instance of <see cref="SteamGetNewsForAppResponse"/> representing the response.</returns> public SteamGetNewsForAppResponse GetNewsForApp(SteamGetNewsForAppOptions options) { return(SteamGetNewsForAppResponse.ParseResponse(Raw.GetNewsForApp(options))); }