Net::Google::Spreadsheets::V4 - Google Sheets API v4 client
use Net::Google::Spreadsheets::V4;
my $gs = Net::Google::Spreadsheets::V4->new(
client_id => "YOUR_CLIENT_ID",
client_secret => "YOUR_CLIENT_SECRET",
refresh_token => "YOUR_REFRESH_TOKEN",
spreadsheet_id => "YOUR_SPREADSHEET_ID",
);
my ($content, $res) = $gs->request(
POST => ':batchUpdate',
{
requests => [ ... ],
},
);
See also examples/import.pl for more complex code.
Net::Google::Spreadsheets::V4 is Google Sheets API v4 client
Creates and returns a new Net::Google::Spreadsheets::V4 client instance. Dies on errors.
%args is following:
- client_id => Str
- client_secret => Str
- refresh_token => Str
- spreadsheet_id => Str
Get Sheet
object by title or index or sheet_id.
Delete all data.
Convert Array to CSV Str.
HIROSE Masaaki hirose31@gmail.com
https://github.com/hirose31/Net-Google-Spreadsheets-V4
git clone https://github.com/hirose31/Net-Google-Spreadsheets-V4.git
patches and collaborators are welcome.
https://developers.google.com/sheets/
Copyright HIROSE Masaaki
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.