NAME
WebService::Simple::Yahoo::JP::API - Simple Interface to Yahoo! JAPAN Web APIs
SYNOPSIS
use Data::Dumper;
use WebService::Simple::Parser::XML::Simple;
use XML::Simple;
use WebService::Simple::Yahoo::JP::API;
use WebService::Simple::Yahoo::JP::API::Search;
my $xs = XML::Simple->new( KeyAttr => [], ForceArray => ['Result'] );
my $appid = '************************************************************';
my $api = WebService::Simple::Yahoo::JP::API->new(
appid => $appid,
response_parser => WebService::Simple::Parser::XML::Simple->new(xs => $xs),
);
my $res = $api->search->websearch(query => "Perl");
print Dumper $res;
print Dumper $res->parse_response;
DESCRIPTION
WebService::Simple::Yahoo::JP::API module provides an interface to the Yahoo! JAPAN Web APIs (Search, Map, Jlp, Auctions, Shopping, News, Chiebukuro, Dir, Cert).
METHODS
- new()
-
Create and return a new WebService::Simple::Yahoo::JP::API object. "new" Method requires an application ID of Yahoo developper network.
SUBCLASSING METHODS
- search()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::Search class.
- map()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::Map class.
- jlp()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::Jlp class.
- auctions()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::Auctions class.
- shopping()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::Shopping class.
- news()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::News class.
- chiebukuro()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::Chiebukuro class.
- dir()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::Dir class.
- cert()
-
Change WebService::Simple::Yahoo::JP::API or WebService::Simple::Yahoo::JP::API::hoge class to WebService::Simple::Yahoo::JP::API::Cert class.
AUTHOR
AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>
SEE ALSO
WebService::Simple::Yahoo::JP::API::Search
WebService::Simple::Yahoo::JP::API::Map
WebService::Simple::Yahoo::JP::API::Jlp
WebService::Simple::Yahoo::JP::API::Auctions
WebService::Simple::Yahoo::JP::API::Shopping
WebService::Simple::Yahoo::JP::API::News
WebService::Simple::Yahoo::JP::API::Chiebukuro
WebService::Simple::Yahoo::JP::API::Dir
WebService::Simple::Yahoo::JP::API::Cert
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.