class PPC::API::Qihu::Rank

Constants

RankType
Service

Public Class Methods

getRank( auth, region, queryInfo ) click to toggle source
# File lib/ppc/api/qihu/rank.rb, line 17
def self.getRank( auth, region, queryInfo )
  body  = {'region'=> region, 'queryInfo' => queryInfo}
  response = request( auth, Service, 'realTimeQueryResult', body)
  process( response, "" ){|x| x["left"]["ranking"]}
end