Module: SteamApp

Defined in:
lib/steamwebapi/app.rb

Class Method Summary collapse

Class Method Details

.get_news(appid, count = '1', maxlength = nil) ⇒ Object

ISteamNews



6
7
8
9
# File 'lib/steamwebapi/app.rb', line 6

def self.get_news(appid, count='1', maxlength=nil)
  args = {appid: appid, count: count, maxlength: maxlength}
  SteamAPI.get('ISteamNews', 'GetNewsForApp', 'v0002', args)
end