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:
Get Sheet object by title or index or sheet_id.
Sheet
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.
To install Net::Google::Spreadsheets::V4, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Google::Spreadsheets::V4
CPAN shell
perl -MCPAN -e shell install Net::Google::Spreadsheets::V4
For more information on module installation, please visit the detailed CPAN module installation guide.