NAME

App::Google::Docs - bring Google Documents to the command line

VERSION

version 0.02

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:

email

Specifies user's Google email

password

Specifies user's Google password

list( $file_path )

List docuemnts.

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>

BUGS

Please report any bugs or feature requests at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-Google-Docs. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc App::Google::Docs

You can also look for information at:

SEE ALSO

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.