Google::API::Client - A client for Google APIs Discovery Service
use Google::API::Client;
my $client = Google::API::Client->new;
my $service = $client->build('urlshortener', 'v1');
# Get shortened URL
my $body = {
'longUrl' => 'http://code.google.com/apis/urlshortener/',
};
my $result = $url->insert(body => $body)->execute;
$result->{id}; # shortened URL
Google::API::Client is a client for Google APIs Discovery Service. You make using Google APIs easy.
- new
- build
- build_from_document
Takatsugu Shigeta shigeta@cpan.org
Yusuke Ueno (uechoco)
Gustavo Chaves (gnustavo)
Hatsuhito UENO (uehatsu)
chylli
Copyright 2011- Takatsugu Shigeta
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.