|
NAMEWebService::Rakuten - Object interface to Rakuten webservice SYNOPSIS use WebService::Rakuten;
my $rws = WebService::Rakuten->new(
output_type => 'perl',
developer_id => '0123456789abcdef',
);
my $result_rh = $rws->itemsearch(
keyword => 'Sony Vaio',
page => 1,
);
DESCRIPTIONUse this module to conveniently interface with the Rakuten webservices. Documentation http://webservice.rakuten.co.jp/ METHODSsimplehotelsearchExample my $results_rh = $rws->simplehotelsearch(
largeClassCode => 'japan',
middleClassCode => 'akita',
smallClassCode => 'tazawa',
);
Parameters Documentation http://webservice.rakuten.co.jp/simplehotelsearch/ booksgamesearchExample my $results_rh = $rws->booksgamesearch(
title => 'バイオハザード',
hardware => 'Wii',
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/booksgamesearch/ hoteldetailsearchExample my $results_rh = $rws->hoteldetailsearch( hotelNo => 123456, ); Parameters
Documentation http://webservice.rakuten.co.jp/hoteldetailsearch/ gethotelchainlistParameters Documentation http://webservice.rakuten.co.jp/gethotelchainlist/ bookssoftwaresearchExample my $results_rh = $rws->bookssoftwaresearch(
title => '会計',
os => 'Mac',
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/bookssoftwaresearch/ bookscdsearchExample my $results_rh = $rws->bookscdsearch(
artistName => 'サザンオールスターズ',
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/bookscdsearch/ vacanthotelsearchExample my $results_rh = $rws->vacanthotelsearch(
largeClassCode => 'japan',
middleClassCode => 'akita',
smallClassCode => 'tazawa',
checkinDate => '2009-07-01',
checkoutDate => '2009-07-02',
adultNum => 2,
);
Parameters Documentation http://webservice.rakuten.co.jp/vacanthotelsearch/ booksmagazinesearchExample my $results_rh = $rws->booksmagazinesearch(
title => '週間 経済',
booksGenreId => 007604001,
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/booksmagazinesearch/ itemcodesearchExample my $results_rh = $rws->itemcodesearch( itemCode => 'aaa:1234567', ); Parameters Documentation http://webservice.rakuten.co.jp/itemcodesearch/ bookstotalsearchExample my $results_rh = $rws->bookstotalsearch(
keyword => 'ガンダム',
NGKeyword => '予約',
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/bookstotalsearch/ booksforeignbooksearchExample my $results_rh = $rws->booksforeignbooksearch(
title => 'HarryPotter',
booksGenreId => 005407,
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/booksforeignbooksearch/ genresearchExample my $results_rh = $rws->genresearch( genreId => 0, ); Parameters
Documentation http://webservice.rakuten.co.jp/genresearch/ auctionitemsearchExample my $results_rh = $rws->auctionitemsearch(
keyword => '福袋',
sort => '+bidCount',
);
Parameters Documentation http://webservice.rakuten.co.jp/auctionitemsearch/ dynamicadExample my $results_rh = $rws->dynamicad( url => 'http%3a%2f%2fplaza%2erakuten%2eco%2ejp%2fisblog%2fdiary%2f200705230001%2f', ); Parameters Documentation http://webservice.rakuten.co.jp/dynamicad/ cdsearchExample my $results_rh = $rws->cdsearch(
keyword => 'SMAP',
genreId => 200533,
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/cdsearch/ booksearchExample my $results_rh = $rws->booksearch(
keyword => 'ブログ',
genreId => 200446,
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/booksearch/ getareaclassParameters Documentation http://webservice.rakuten.co.jp/getareaclass/ hotelrankingExample my $results_rh = $rws->hotelranking( genre => 'all', ); Parameters Documentation http://webservice.rakuten.co.jp/hotelranking/ catalogsearchExample my $results_rh = $rws->catalogsearch(
keyword => '%e6%b6%b2%e6�%b6%e3��%e3�%ac%e3��',
sort => '-reviewCount',
);
Parameters Documentation http://webservice.rakuten.co.jp/catalogsearch/ booksdvdsearchExample my $results_rh = $rws->booksdvdsearch(
title => 'ガンダム',
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/booksdvdsearch/ keywordhotelsearchExample my $results_rh = $rws->keywordhotelsearch( keyword => '伊豆', ); Parameters
Documentation http://webservice.rakuten.co.jp/keywordhotelsearch/ itemrankingParameters Documentation http://webservice.rakuten.co.jp/itemranking/ auctionitemcodesearchExample my $results_rh = $rws->auctionitemcodesearch( itemCode => 'i:aaa:1234567', ); Parameters Documentation http://webservice.rakuten.co.jp/auctionitemcodesearch/ dvdsearchExample my $results_rh = $rws->dvdsearch(
keyword => 'SMAP',
genreId => 300337,
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/dvdsearch/ itemsearchExample my $results_rh = $rws->itemsearch(
keyword => '福袋',
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/itemsearch/ booksbooksearchExample my $results_rh = $rws->booksbooksearch(
title => '太陽',
booksGenreId => 001004008,
sort => '+itemPrice',
);
Parameters Documentation http://webservice.rakuten.co.jp/booksbooksearch/ booksgenresearchExample my $results_rh = $rws->booksgenresearch( booksGenreId => 000, ); Parameters
Documentation http://webservice.rakuten.co.jp/booksgenresearch/ LIMITATIONS
AUTHORDylan Doxey, <dylan.doxey@gmail.com> COPYRIGHT AND LICENSECopyright (C) 2009 by Dylan Doxey This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
|