The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::Google::Spreadsheets::Spreadsheet - Representation of spreadsheet.

SYNOPSIS

use Net::Google::Spreadsheets;

my $service = Net::Google::Spreadsheets->new(
  username => 'mygoogleaccount@example.com',
  password => 'mypassword'
);

my @spreadsheets = $service->spreadsheets();

# find a spreadsheet by key
my $spreadsheet = $service->spreadsheet(
  {
      key => 'key_of_a_spreasheet'
  }
);

# find a spreadsheet by title
my $spreadsheet_by_title = $service->spreadsheet(
  {
      title => 'list for new year cards'
  }
);

METHODS

worksheets(\%condition)

Returns a list of Net::Google::Spreadsheets::Worksheet objects. Acceptable arguments are:

title
title-exact

worksheet(\%condition)

Returns first item of worksheets(\%condition) if available.

add_worksheet(\%attribuets)

Creates new worksheet and returns a Net::Google::Spreadsheets::Worksheet object representing it.

SEE ALSO

http://code.google.com/intl/en/apis/spreadsheets/docs/2.0/developers_guide_protocol.html

http://code.google.com/intl/en/apis/spreadsheets/docs/2.0/reference.html

Net::Google::AuthSub

Net::Google::Spreadsheets

AUTHOR

Nobuo Danjou <nobuo.danjou@gmail.com>