Net::Google::DocumentsList::Role::Exportable - implementation of download items
use Net::Google::DocumentsList; my $client = Net::Google::DocumentsList->new( username => 'myname@gmail.com', password => 'p4$$w0rd' ); # pickup one document my $d = $client->item; # download and set to variable my $content = $d->export( { format => 'txt', } ); # download to a file $d->export( { format => 'txt', file => '/path/to/download.txt', } );
This module implements download functionality.
downloads the item. available formats are seen in http://code.google.com/intl/en/apis/documents/docs/3.0/developers_guide_protocol.html#DownloadingDocs.
Noubo Danjou <danjou@soffritto.org>
Net::Google::DocumentsList
Net::Google::DocumentsList::Item
Net::Google::DocumentsList::Revision
http://code.google.com/intl/en/apis/documents/docs/3.0/developers_guide_protocol.html#DownloadingDocs.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::Google::DocumentsList, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Google::DocumentsList
CPAN shell
perl -MCPAN -e shell install Net::Google::DocumentsList
For more information on module installation, please visit the detailed CPAN module installation guide.