API-Google
view release on metacpan or search on metacpan
my $port = empty_port(3000);
say "Starting web server. Before authorization don't forget to set redirect_uri to http://127.0.0.1:$port/";
$ENV{'GOAUTH_TOKENSFILE'} = $filename;
Mojolicious::Commands->start_app('API::Google::Server', 'daemon', '-l', 'http://*:'.$port);
}
__END__
=pod
=encoding UTF-8
=head1 NAME
goauth - CLI tool for easily getting of Google API access tokens. Supports multiple users
=head1 VERSION
version 0.12
=head1 SYNOPSIS
lib/API/Google.pm view on Meta::CPAN
return $res;
};
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
API::Google - Perl library for easy access to Google services via their API
=head1 VERSION
version 0.12
=head1 SYNOPSIS
lib/API/Google/GCal.pm view on Meta::CPAN
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
API::Google::GCal - Google Calendar API client
=head1 VERSION
version 0.12
=head1 SYNOPSIS
lib/API/Google/Server.pm view on Meta::CPAN
$c->render( json => $config->get('gapi') );
} else {
$c->render(template => 'oauth');
}
};
app->start;
=pod
=encoding UTF-8
=head1 NAME
API::Google::Server - Mojolicious::Lite web server for getting Google API tokens via Oauth 2.0
=head1 VERSION
version 0.12
=head1 METHODS
( run in 0.523 second using v1.01-cache-2.11-cpan-49f99fa48dc )