Google::RestApi::Auth::ServiceAccount - Service Account support for Google Rest APIs
use Google::RestApi::Auth::ServiceAccount; my $sa = Google::RestApi::Auth::ServiceAccount->new( account_file => <path_to_account_json_file>, scope => ['http://spreadsheets.google.com/feeds/'], ); # generate an access token from the code returned from Google: my $token = $sa->access_token($code);
Robin Murray <mvsjes@cpan.ork<gt>.
WWW::Google::Cloud::Auth::ServiceAccount
https://developers.google.com/accounts/docs/OAuth2
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Google::RestApi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::RestApi
CPAN shell
perl -MCPAN -e shell install Google::RestApi
For more information on module installation, please visit the detailed CPAN module installation guide.