WebService::Rakuten - Object interface to Rakuten webservice
use WebService::Rakuten; my $rws = WebService::Rakuten->new( output_type => 'perl', developer_id => '0123456789abcdef', ); my $result_rh = $rws->itemsearch( keyword => 'Sony Vaio', page => 1, );
Use this module to conveniently interface with the Rakuten webservices.
http://webservice.rakuten.co.jp/
my $results_rh = $rws->simplehotelsearch( largeClassCode => 'japan', middleClassCode => 'akita', smallClassCode => 'tazawa', );
http://webservice.rakuten.co.jp/simplehotelsearch/
my $results_rh = $rws->booksgamesearch( title => 'バイオハザード', hardware => 'Wii', sort => '+itemPrice', );
http://webservice.rakuten.co.jp/booksgamesearch/
my $results_rh = $rws->hoteldetailsearch( hotelNo => 123456, );
http://webservice.rakuten.co.jp/hoteldetailsearch/
http://webservice.rakuten.co.jp/gethotelchainlist/
my $results_rh = $rws->bookssoftwaresearch( title => '会計', os => 'Mac', sort => '+itemPrice', );
http://webservice.rakuten.co.jp/bookssoftwaresearch/
my $results_rh = $rws->bookscdsearch( artistName => 'サザンオールスターズ', sort => '+itemPrice', );
http://webservice.rakuten.co.jp/bookscdsearch/
my $results_rh = $rws->vacanthotelsearch( largeClassCode => 'japan', middleClassCode => 'akita', smallClassCode => 'tazawa', checkinDate => '2009-07-01', checkoutDate => '2009-07-02', adultNum => 2, );
http://webservice.rakuten.co.jp/vacanthotelsearch/
my $results_rh = $rws->booksmagazinesearch( title => '週間 経済', booksGenreId => 007604001, sort => '+itemPrice', );
http://webservice.rakuten.co.jp/booksmagazinesearch/
my $results_rh = $rws->itemcodesearch( itemCode => 'aaa:1234567', );
http://webservice.rakuten.co.jp/itemcodesearch/
my $results_rh = $rws->bookstotalsearch( keyword => 'ガンダム', NGKeyword => '予約', sort => '+itemPrice', );
http://webservice.rakuten.co.jp/bookstotalsearch/
my $results_rh = $rws->booksforeignbooksearch( title => 'HarryPotter', booksGenreId => 005407, sort => '+itemPrice', );
http://webservice.rakuten.co.jp/booksforeignbooksearch/
my $results_rh = $rws->genresearch( genreId => 0, );
http://webservice.rakuten.co.jp/genresearch/
my $results_rh = $rws->auctionitemsearch( keyword => '福袋', sort => '+bidCount', );
http://webservice.rakuten.co.jp/auctionitemsearch/
my $results_rh = $rws->dynamicad( url => 'http%3a%2f%2fplaza%2erakuten%2eco%2ejp%2fisblog%2fdiary%2f200705230001%2f', );
http://webservice.rakuten.co.jp/dynamicad/
my $results_rh = $rws->cdsearch( keyword => 'SMAP', genreId => 200533, sort => '+itemPrice', );
http://webservice.rakuten.co.jp/cdsearch/
my $results_rh = $rws->booksearch( keyword => 'ブログ', genreId => 200446, sort => '+itemPrice', );
http://webservice.rakuten.co.jp/booksearch/
http://webservice.rakuten.co.jp/getareaclass/
my $results_rh = $rws->hotelranking( genre => 'all', );
http://webservice.rakuten.co.jp/hotelranking/
my $results_rh = $rws->catalogsearch( keyword => '%e6%b6%b2%e6�%b6%e3��%e3�%ac%e3��', sort => '-reviewCount', );
http://webservice.rakuten.co.jp/catalogsearch/
my $results_rh = $rws->booksdvdsearch( title => 'ガンダム', sort => '+itemPrice', );
http://webservice.rakuten.co.jp/booksdvdsearch/
my $results_rh = $rws->keywordhotelsearch( keyword => '伊豆', );
http://webservice.rakuten.co.jp/keywordhotelsearch/
http://webservice.rakuten.co.jp/itemranking/
my $results_rh = $rws->auctionitemcodesearch( itemCode => 'i:aaa:1234567', );
http://webservice.rakuten.co.jp/auctionitemcodesearch/
my $results_rh = $rws->dvdsearch( keyword => 'SMAP', genreId => 300337, sort => '+itemPrice', );
http://webservice.rakuten.co.jp/dvdsearch/
my $results_rh = $rws->itemsearch( keyword => '福袋', sort => '+itemPrice', );
http://webservice.rakuten.co.jp/itemsearch/
my $results_rh = $rws->booksbooksearch( title => '太陽', booksGenreId => 001004008, sort => '+itemPrice', );
http://webservice.rakuten.co.jp/booksbooksearch/
my $results_rh = $rws->booksgenresearch( booksGenreId => 000, );
http://webservice.rakuten.co.jp/booksgenresearch/
There are multiple authors with permission on this namespace. If you're installing via the cpan prompt, or command line tool, you'll need to do so like this:
cpan[1]> install DYLAN/WebService-Rakuten-0.05.tar.gz
This module and its POD were generated by a program which crawls the online documentation and outputs a Perl interpretation. I may never personally test every function. Please report any bugs.
For reasons beyond this author's control, Rakuten doesn't want you to follow links from other websites to their API pages. They enforce this by redirecting you to the main API page whenever you follow any of the above links. Go figure.
Dylan Doxey, <dylan.doxey@gmail.com>
Copyright (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.
To install WebService::Rakuten, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Rakuten
CPAN shell
perl -MCPAN -e shell install WebService::Rakuten
For more information on module installation, please visit the detailed CPAN module installation guide.