module Skyhook::Core::ISteamNews

Public Class Methods

news_for_app( appid, options = {} ) click to toggle source

SteamNews Methods relating to Steam News.

# File lib/skyhook/i_steam_news.rb, line 7
def self.news_for_app( appid, options = {} )
  maxlength = options[:maxlength]
  enddate = options[:enddate]
  count = options[:count]
  feeds = options[:feeds]

  response = parent.request '/ISteamNews/GetNewsForApp/v0002', appid: appid,  maxlength: maxlength, enddate: enddate, count: count, feeds: feeds
  response['appnews']
end