Sha256: e06b3c340ff8b71def73ed866441e385114f00f534edf054e2681ed7fad74a31

Contents?: true

Size: 590 Bytes

Versions: 2

Compression:

Stored size: 590 Bytes

Contents

module Skyhook
  module Core::ISteamApps

    # ISteamApps
    # Methods relating to Steam Apps in general.

    def self.server_at_address( ip_address )
      response = parent.request '/ISteamApps/GetServersAtAddress/v1', addr: ip_address
      response['response']['servers']
    end

    def self.up_to_date_check( appid, version )
      response = parent.request '/ISteamApps/UpToDateCheck/v1', appid: appid, version: version
      response
    end

    def self.app_list
      response = parent.request '/ISteamApps/GetAppList/v2'
      response['applist']['apps']
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
skyhook-0.7.0 lib/skyhook/i_steam_apps.rb
skyhook-0.6.0 lib/skyhook/i_steam_apps.rb