WebService::YDMM - It's yet another DMM sdk.
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} #"ハノカゲ"
WebService::YDMM is another DMM webservice module. DMM is Japanese shopping site.
This module supported by DMM.API.
Create instance of WebService::YDMM
%params must have following parameter:
API ID of DMM.com web service You can get API key on project application for DMM affiliate service.
Affiliate ID of DMM.com web service You can get API key on project application for DMM affiliate service. This affiliate_id validate of 990 ~ 999 number.
You can get item list for DMM.com
You must use either "DMM.com" or DMM.R18" for item param. Item param can insert \%params .
You can get floor list. This methods no requires parameters.
You can get actress information from DMM.
You can get genre information.
This method must $floor_id from floor list. Floor_id param can insert \%params .
You can get maker information.
You can get series information.
You can get author information.
%params has officional query parameter. Please check as appropriate for officional api support page from DMM.
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.
AnaTofuZ <anatofuz@gmail.com>
To install WebService::YDMM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::YDMM
CPAN shell
perl -MCPAN -e shell install WebService::YDMM
For more information on module installation, please visit the detailed CPAN module installation guide.