Sha256: 4483984e6cd3ff05c6fff424bcae18db0b1602831a53fbf139d5cd63a3574b24
Contents?: true
Size: 639 Bytes
Versions: 1
Compression:
Stored size: 639 Bytes
Contents
module PPC module API class Qihu class Rank < Qihu Service = 'tool' @map = [ [:id,:id] , [:group_id, :groupId], [:anchor,:text], [:url, :link], [:image, :image], [:status, :status] ] def self.getRank( auth, region, queryInfo ) body = {'region'=> region, 'queryInfo' => queryInfo} response = request(auth, Service, 'realTimeQueryResult', body) # process( response, 'sublinkList'){ |x| reverse_type( x['item'] ) } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ppc-1.3.2 | lib/ppc/api/qihu/rank.rb |