NAME

WebService::Rakuten - Object interface to Rakuten webservice

SYNOPSIS

use WebService::Rakuten;

my $r = WebService::Rakuten->new(
    output_type  => 'perl',
    developer_id => '0123456789abcdef',
);

my $keyword = 'Hello Kitty';
my $page    = 1;

my $result_rh = $r->itemsearch($keyword,$page);

DESCRIPTION

This fills an empty niche for interfacing with the Rakuten webservice detailed here.

http://webservice.rakuten.co.jp/

METHODS

simplehotelsearch

Parameters

callBack
type: String
default: '指定無し'
largeClassCode
type: String
middleClassCode
type: String
smallClassCode
type: String
detailClassCode
type: String
hotelNo
type: int(10)
latitude
type: decimal
longitude
type: decimal
searchRadius
type: int
default: 1
squeezeCondition
type: String
carrier
type: int(1)
default: 0
hits
type: long
datumType
type: int(1)
default: 2

Full Documentation

http://affiliate.rakuten.co.jp/simplehotelsearch/

booksgamesearch

Parameters

callBack
type: String
title
type: String
hardware
type: String
makerCode
type: String
label
type: String
jan
type: long
booksGenreId
type: String
default: 006
hits
type: int
default: 30
page
type: int
default: 1
availability
type: int(1)
default: 0
outOfStockFlag
type: int(1)
default: 0
sort
type: String
default: 'standard'
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/booksgamesearch/

hoteldetailsearch

Parameters

callBack
type: String
default: '指定無し'
hotelNo (required)
type: int(10)
carrier
type: int(1)
default: 0
datumType
type: int(1)
default: 2

Full Documentation

http://affiliate.rakuten.co.jp/hoteldetailsearch/

gethotelchainlist

Parameters

callBack
type: String
default: '指定無し'

Full Documentation

http://affiliate.rakuten.co.jp/gethotelchainlist/

bookssoftwaresearch

Parameters

callBack
type: String
title
type: String
os
type: String
makerCode
type: String
label
type: String
jan
type: long
booksGenreId
type: String
default: 004
hits
type: int
default: 30
page
type: int
default: 1
availability
type: int(1)
default: 0
outOfStockFlag
type: int(1)
default: 0
sort
type: String
default: 'standard'
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/bookssoftwaresearch/

bookscdsearch

Parameters

callBack
type: String
title
type: String
artistName
type: String
label
type: String
jan
type: long
booksGenreId
type: String
default: 002
hits
type: int
default: 30
page
type: int
default: 1
availability
type: int(1)
default: 0
outOfStockFlag
type: int(1)
default: 0
sort
type: String
default: 'standard'
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/bookscdsearch/

vacanthotelsearch

Parameters

callBack
type: String
default: '指定無し'
largeClassCode
type: String
middleClassCode
type: String
smallClassCode
type: String
detailClassCode
type: String
hotelNo
type: int(10)
checkinDate (required)
type: date
checkoutDate (required)
type: date
adultNum
type: int(2)
default: 1
upClassNum
type: int(2)
default: 0
lowClassNum
type: int(2)
default: 0
infantWithMBNum
type: int(2)
default: 0
infantWithMNum
type: int(2)
default: 0
infantWithBNum
type: int(2)
default: 0
infantWithoutMBNum
type: int(2)
default: 0
roomNum
type: int(3)
default: 1
maxCharge
type: long
default: '指定無し'
minCharge
type: long
default: '指定無し'
latitude
type: decimal
longitude
type: decimal
searchRadius
type: int
default: 1
squeezeCondition
type: String
carrier
type: int(1)
default: 0
datumType
type: int(1)
default: 2

Full Documentation

http://affiliate.rakuten.co.jp/vacanthotelsearch/

booksmagazinesearch

Parameters

callBack
type: String
title
type: String
publisherName
type: String
jan
type: long
booksGenreId
type: String
default: 007
hits
type: int
default: 30
page
type: int
default: 1
availability
type: int(1)
default: 0
outOfStockFlag
type: int(1)
default: 0
sort
type: String
default: 'standard'
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/booksmagazinesearch/

itemcodesearch

Parameters

itemCode (required)
type: String

Full Documentation

http://affiliate.rakuten.co.jp/itemcodesearch/

bookstotalsearch

Parameters

callBack
type: String
keyword
type: String
booksGenreId
type: String
default: 000
hits
type: int
default: 30
page
type: int
default: 1
availability
type: int(1)
default: 0
outOfStockFlag
type: int(1)
default: 0
sort
type: String
default: 'standard'
field
type: int(1)
default: 1
carrier
type: int(1)
default: 0
orFlag
type: int(1)
default: 0
NGKeyword
type: String
default: '指定無し'

Full Documentation

http://affiliate.rakuten.co.jp/bookstotalsearch/

booksforeignbooksearch

Parameters

callBack
type: String
title
type: String
author
type: String
publisherName
type: String
isbn
type: long
booksGenreId
type: String
default: 005
hits
type: int
default: 30
page
type: int
default: 1
availability
type: int(1)
default: 0
outOfStockFlag
type: int(1)
default: 0
sort
type: String
default: 'standard'
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/booksforeignbooksearch/

genresearch

Parameters

genreId (required)
type: int

Full Documentation

http://affiliate.rakuten.co.jp/genresearch/

auctionitemsearch

Parameters

callBack
type: String
keyword
type: String
genreId
type: long
hits
type: int
default: 30
page
type: int
default: 1
minPrice
type: long
default: '指定無し'
maxPrice
type: long
default: '指定無し'
sort
type: String
default: '+endTime'
blowFlag
type: int(1)
default: 0
itemType
type: int(1)
default: 0
newFlag
type: int(1)
default: 0
field
type: int(1)
default: 1
carrier
type: int(1)
default: 0
imageFlag
type: int(1)
default: 0
orFlag
type: int(1)
default: 0
NGKeyword
type: String
default: '指定無し'

Full Documentation

http://affiliate.rakuten.co.jp/auctionitemsearch/

dynamicad

Parameters

url
type: String
carrier
type: int
default: 0
callBack
type: String

Full Documentation

http://affiliate.rakuten.co.jp/dynamicad/

cdsearch

Parameters

callBack
type: String
default: '指定無し'
keyword
type: String
genreId
type: long
default: 0
hits
type: int
default: 30
page
type: int
default: 1
sort
type: String
default: '-reviewCount'
minPrice
type: long
default: '指定無し'
maxPrice
type: long
default: '指定無し'
availability
type: int(1)
default: 1
field
type: int(1)
default: 1
carrier
type: int(1)
default: 0
imageFlag
type: int(1)
default: 0
orFlag
type: int(1)
default: 0
NGKeyword
type: String
default: '指定無し'
genreInformationFlag
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/cdsearch/

booksearch

Parameters

callBack
type: String
default: '指定無し'
keyword
type: String
genreId
type: long
default: 0
hits
type: int
default: 30
page
type: int
default: 1
sort
type: String
default: '-reviewCount'
minPrice
type: long
default: '指定無し'
maxPrice
type: long
default: '指定無し'
availability
type: int(1)
default: 1
field
type: int(1)
default: 1
carrier
type: int(1)
default: 0
imageFlag
type: int(1)
default: 0
orFlag
type: int(1)
default: 0
NGKeyword
type: String
default: '指定無し'
genreInformationFlag
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/booksearch/

getareaclass

Parameters

callBack
type: String
default: '指定無し'

Full Documentation

http://affiliate.rakuten.co.jp/getareaclass/

hotelranking

Parameters

callBack
type: String
default: '指定無し'
genre (required)
type: String
default: 'all'
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/hotelranking/

catalogsearch

Parameters

callBack
type: String
default: '指定無し'
keyword
type: String
genreId
type: long
default: 0
hits
type: int
default: 30
page
type: int
default: 1
sort
type: String
default: '-registerDate'
field
type: int(1)
default: 1
imageFlag
type: int(1)
default: 0
releaseRange
type: int
default: 0
orFlag
type: int(1)
default: 0
NGKeyword
type: String
default: '指定無し'
genreInformationFlag
type: String
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/catalogsearch/

booksdvdsearch

Parameters

callBack
type: String
title
type: String
artistName
type: String
label
type: String
jan
type: long
booksGenreId
type: String
default: 003
hits
type: int
default: 30
page
type: int
default: 1
availability
type: int(1)
default: 0
outOfStockFlag
type: int(1)
default: 0
sort
type: String
default: 'standard'
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/booksdvdsearch/

keywordhotelsearch

Parameters

callBack
type: String
default: '指定無し'
carrier
type: int(1)
default: 0
page
type: int
default: 1
hits
type: int
default: 20
sumDisplayFlag
type: int(1)
default: 0
keyword (required)
type: String
middleClassCode
type: String

Full Documentation

http://affiliate.rakuten.co.jp/keywordhotelsearch/

itemranking

Parameters

callBack
type: String
default: '指定無し'
genreId
type: long
age
type: int
sex
type: int

Full Documentation

http://affiliate.rakuten.co.jp/itemranking/

auctionitemcodesearch

Parameters

callBack
type: String
itemCode (required)
type: String
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/auctionitemcodesearch/

dvdsearch

Parameters

callBack
type: String
default: '指定無し'
keyword
type: String
genreId
type: long
default: 0
hits
type: int
default: 30
page
type: int
default: 1
sort
type: String
default: '-reviewCount'
minPrice
type: long
default: '指定無し'
maxPrice
type: long
default: '指定無し'
availability
type: int(1)
default: 1
field
type: int(1)
default: 1
carrier
type: int(1)
default: 0
imageFlag
type: int(1)
default: 0
orFlag
type: int(1)
default: 0
NGKeyword
type: String
default: '指定無し'
genreInformationFlag
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/dvdsearch/

itemsearch

Parameters

callBack
type: String
default: '指定無し'
keyword
type: String
shopCode
type: String
default: '指定無し'
genreId
type: long
default: 0
catalogCode
type: String
hits
type: int
default: 30
page
type: int
default: 1
sort
type: String
default: 'standard'
minPrice
type: long
default: '指定無し'
maxPrice
type: long
default: '指定無し'
availability
type: int(1)
default: 1
field
type: int(1)
default: 1
carrier
type: int(1)
default: 0
imageFlag
type: int(1)
default: 0
orFlag
type: int(1)
default: 0
NGKeyword
type: String
default: '指定無し'
genreInformationFlag
type: int(1)
default: 0
purchaseType
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/itemsearch/

booksbooksearch

Parameters

callBack
type: String
title
type: String
author
type: String
publisherName
type: String
size
type: int
default: 0
isbn
type: long
booksGenreId
type: String
default: 001
hits
type: int
default: 30
page
type: int
default: 1
availability
type: int(1)
default: 0
outOfStockFlag
type: int(1)
default: 0
sort
type: String
default: 'standard'
carrier
type: int(1)
default: 0

Full Documentation

http://affiliate.rakuten.co.jp/booksbooksearch/

booksgenresearch

Parameters

booksGenreId (required)
type: String

Full Documentation

http://affiliate.rakuten.co.jp/booksgenresearch/

AUTHOR

Dylan Doxey, <dylan.doxey@gmail.com>

COPYRIGHT AND LICENSE

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.