| 1 | package WebService::Simple::Yahoo::JP::API::News; | ||
| 2 | our $VERSION = '0.01'; | ||
| 3 | use base qw(WebService::Simple::Yahoo::JP::API); | ||
| 4 | __PACKAGE__->config( | ||
| 5 | base_url => 'http://news.yahooapis.jp/NewsWebService/', | ||
| 6 | ); | ||
| 7 | |||
| 8 | sub topics { shift->_get('V2/topics', @_); } | ||
| 9 | sub heading { shift->_get('V1/heading', @_); } | ||
| 10 | sub topicslog { shift->_get('V1/topicsLog', @_); } | ||
| 11 | 1; |