RakuAPI
ãRakuAPIãã¯ããã¼ã¯ã¼ãã«åã£ã楽天å¸å ´ååæ å ±ãè¿ããã¢ãã¾ã³ã§ããAmazon ECSã®ãããªãã®ã§ãã楽天å¸å ´ã¨ã¯é¢ä¿ãªãã¢ã³ãªãã£ã·ã£ã«ãªã¦ã§ããµã¼ãã¹ã§ãã
ã楽天å¸å ´ã®ååããã¼ã¯ã¼ããã¸ã£ã³ã«ã§çµãè¾¼ã¿ãXML/RSSãTSVãªã©ã®ãã¼ã¿ã¨ãã¦åå¾ãããã¨ãã§ãã¾ããã¾ãã楽天ã¢ãã£ãªã¨ã¤ãã®ã¢ãã£ãªã¨ã¤ãã»ã³ã¼ããæå®ãããã¨ã§ã¢ãã£ãªã¨ã¤ããªã³ã¯URLãè¿ããã¨ãã§ãã¾ãã
ãã»ãããã¯ã¢ã°ã¬ãã·ããªããããã...ã¨ãããã¨ã§ãã²ã¾ã¤ã¶ãã«
ãä½ãã¾ããããã¹ãæ¸ãã¦ãªããã©ãSYNOPSYS ã¯
my $api = Webservice::RakuAPI->new; $api->decamelize_accessors(1); printf "%s\n", $_->url for $api->search('Core 2 Duo');
ã¨ããæãã å®è¡ããã¨ã
http://item.rakuten.co.jp/ebest/4905524351569/ http://item.rakuten.co.jp/akindo/vgc-la70b/ http://item.rakuten.co.jp/plusyu/macbook-good/ http://www.rakuten.co.jp/maido/506196/1078740/#1024257 http://item.rakuten.co.jp/ebest/4547597524213/ http://www.rakuten.co.jp/maido/506196/1066765/#1010183 http://item.rakuten.co.jp/ebest-outlet/4905524351569/ http://www.rakuten.co.jp/mikasacamera/100076/126549/154166/#169540 http://www.rakuten.co.jp/maido/860672/862052/871337/#806265 http://item.rakuten.co.jp/ebest/4547597537770/
ã¨ãªãã¾ããããã¨ã¯ POD è¦ã¦ãã ããã使ç¨ã¯èªå·±è²¬ä»»ã§ãCPAN ã«ã¯ãï½ãã¾ããã
NAME Webservice::RakuAPI - Handle RakuAPI with Perl SYNOPSIS use Webservice::RakuAPI; my $api = Webservice::RakuAPI->new; $api->affiliate_code('...'); $api->debug(1); $api->decamelize_accessors(1); my @results = $api->search('Core 2 Duo'); print $_->title, "\n" for @results; my $results = $api->search('Core 2 Duo', { genre => 'book', row => 10 }); for (@$results) { print $_->title; print $_->price; print $_->url; print $_->thumbnail_url; print $_->shop_name; print $_->tax; print $_->shop_url; } DESCRIPTION RakuAPI (http://rakuapi.ddo.jp/) FUNCTIONS ua Returns an User-Agent instance. search Returns search result objects. AUTHOR Naoya Ito, "<naoya at bloghackers.net>"
String::CamelCase ã使ã£ã¦ã¿ããã£ãã ããªãã§ããããã¾ãããã¢ã¼ã«ã¤ã㯠http://bloghackers.net/~naoya/lib/perlmodules/Webservice-RakuAPI-0.01.tar.gz ã«ã