NAME
App::Google::Docs - Bring Google Documents to the command line
VERSION
version 0.05
SYNOPSIS
Synopsis section
use App::Google::Docs;
my $app = App::Google::Docs -> new(
email => $email,
password => $password
);
DESCRIPTION
This is an helper module for the gdocs utility.
METHODS
new( $args )
Constructor for App::Google::Docs object. Requires following parameters:
-
Specifies user's Google email
- password
-
Specifies user's Google password
list( $file_path )
List documents.
upload( $file_path )
Upload a file to Google Docs. Requires the path to file to upload.
download( $resource_id, $format )
Download a file from Google Docs. Requires the resource ID and the desired format of the file to download.
trash( $resource_id )
Move a document to Google Docs' trash. Requires the resource ID of the file to trash.
INTERNAL METHODS
_request( $request )
Make an HTTP request and parse response.
_readfile( $filname )
Read a file and return basename, content and mime.
AUTHOR
Alessandro Ghedini <alexbio@cpan.org>
LICENSE AND COPYRIGHT
Copyright 2011 Alessandro Ghedini.
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.