Sorauta::Capture::ScreenShot - capture your desktop and send data to server
use Sorauta::Capture::ScreenShot; my $OS = "Mac"; # or Win(but not implement now) my $CAPTURE_FILE_PATH = "/Users/yuki/Desktop/capture.jpg"; my $INTERVAL_TIME = 0; # if you want to interval, set this var over 0 my $DEBUG = 0; my $API_URL = "http://api_url/path/to"; my $API_ATTRS = { file_name => [$CAPTURE_FILE_PATH], test => 'fugapiyo', }; # capture test { Sorauta::Capture::ScreenShot->new({ os => $OS, capture_file_path => $CAPTURE_FILE_PATH, interval_time => $INTERVAL_TIME, debug => $DEBUG, })->execute; } # capture and send api test { Sorauta::Capture::ScreenShot->new({ os => $OS, capture_file_path => $CAPTURE_FILE_PATH, interval_time => $INTERVAL_TIME, debug => $DEBUG, api_url => $API_URL, api_attr => $API_ATTRS, })->execute; }
capture your desktop and send data to server.
None by default.
Mention other useful documentation such as the documentation of related modules or operating system documentation (such as man pages in UNIX), or any relevant external documentation such as RFCs or standards.
If you have a mailing list set up for your module, mention it here.
If you have a web site set up for your module, mention it here.
Yuki ANAI, <yuki@apple.com>
Copyright (C) 2012 by Yuki ANAI
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.3 or, at your option, any later version of Perl 5 you may have available.
To install Sorauta::Capture::ScreenShot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sorauta::Capture::ScreenShot
CPAN shell
perl -MCPAN -e shell install Sorauta::Capture::ScreenShot
For more information on module installation, please visit the detailed CPAN module installation guide.