Class: Yahoo::Api::News

Inherits:
Object
  • Object
show all
Defined in:
lib/yahoo/api/news.rb

Constant Summary collapse

Topics =
"Yahoo::Api::News.topics"

Class Method Summary collapse

Class Method Details

.topics(opts = {}) ⇒ Object

Yahoo News Topics API v2



12
13
14
# File 'lib/yahoo/api/news.rb', line 12

def topics(opts={})
  Yahoo::Request.get("http://news.yahooapis.jp/NewsWebService/V2/topics", Yahoo::Api.merge(opts), "xml")
end