WebService::ScormCloud::Service::Upload - ScormCloud API "upload" namespace
Version 0.03
use WebService::ScormCloud; my $ScormCloud = WebService::ScormCloud->new( app_id => '12345678', secret_key => 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', ); my $token = $ScormCloud->getUploadToken; my $remote_filename = $ScormCloud->uploadFile($file, $token); my $progress = $ScormCloud->getUploadProgress($token); my $uploaded_files = $ScormCloud->listFiles;
This module defines WebService::ScormCloud API methods in the "upload" namespace. See WebService::ScormCloud for more info.
Get and return an upload token to be used with a file upload.
Given an upload token, get progress info for the corresponding upload.
Upload a file. Will generate an upload token is none is supplied.
Returns the generated destination path on the remote filesystem.
Return a list of files that have been uploaded using the given AppID.
Delete a file that was uploaded.
Note: This method only handles one file at a time even though the API service can accept multiple files for deletion in a single request.
WebService::ScormCloud
Larry Leszczynski, <larryl at cpan.org>
<larryl at cpan.org>
Please report any bugs or feature requests to bug-scormcloud at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-ScormCloud. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-scormcloud at rt.cpan.org
Patches more than welcome, especially via GitHub: https://github.com/larryl/ScormCloud
You can find documentation for this module with the perldoc command.
perldoc WebService::ScormCloud::Service::Upload
You can also look for information at:
GitHub
https://github.com/larryl/ScormCloud
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-ScormCloud
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WebService-ScormCloud
CPAN Ratings
http://cpanratings.perl.org/d/WebService-ScormCloud
Search CPAN
http://search.cpan.org/dist/WebService-ScormCloud/
Copyright 2010 Larry Leszczynski.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install WebService::ScormCloud, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::ScormCloud
CPAN shell
perl -MCPAN -e shell install WebService::ScormCloud
For more information on module installation, please visit the detailed CPAN module installation guide.