Net::NicoVideo::Content::MylistItem - item_type and item_id by video_id
Net::NicoVideo::Content::MylistItem->new({ item_type => 0, item_id => 'sm00000000', description => 'mylist comment', token => '12345678-1234567890-abcdef0123456789abcdef0123456789abcdef01', });
Parsed content of the page http://www.nicovideo.jp/mylist_add/video/${video_id}.
An important thing that this page is having "item_type" and "item_id" for specific $video_id, and "token" to update Mylist.
Net::NicoVideo::Content
Net::NicoVideo::Response::MylistItem
To install Net::NicoVideo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::NicoVideo
CPAN shell
perl -MCPAN -e shell install Net::NicoVideo
For more information on module installation, please visit the detailed CPAN module installation guide.