Build Status MetaCPAN Release

NAME

WebService::YDMM - It's yet another DMM sdk.

SYNOPSIS

use WebService::YDMM;

my $dmm = WebService::YDMM->new(
    affiliate_id => ${affiliate_id},
    api_id       => ${api_id},
);

my $items = $dmm->item("DMM.com",+{ keyword => "魔法少女まどか☆マギカ"})->{items};

# or 

my $items = $dmm->item(+{ site => "DMM.R18" , keyword => "魔法少女まどか☆マギカ"});

say $items->[0]->{floor_name}   # "コミック"
say $items->[0]->{iteminfo}->{author}->[1]->{name}  #"ハノカゲ"

DESCRIPTION

WebService::YDMM is another DMM webservice module. DMM is Japanese shopping site.

This module supported by DMM.API.

METHODS

new(%params)

Create instance of WebService::YDMM

%params must have following parameter:

item([$site],\%params)

You can get item list for DMM.com

floor()

You can get floor list. This methods no requires parameters.

actress(\%params)

You can get actress information from DMM.

genre([$floor_id],\%params)

You can get genre information.

maker([$floor_id],\%params)

You can get maker information.

series([$floor_id],\%params)

You can get series information.

author([$floor_id],\%params)

You can get author information.

\%params

%params has officional query parameter. Please check as appropriate for officional api support page from DMM.

LICENSE

Copyright (C) AnaTofuZ.

DMM API Copyright Powered by DMM.com Webサービス

Powered by DMM.R18 Webサービス

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

AnaTofuZ anatofuz@gmail.com