Net::Google::DataAPI - Base implementations for modules to negotiate with Google Data APIs
package MyService; use Moose; use Net::Google::DataAPI; with 'Net::Google::DataAPI::Role::Service' => { service => 'foobar', # see http://code.google.com/intl/ja/apis/gdata/faq.html#clientlogin source => __PACKAGE__, # source name to pass to Net::Google::AuthSub ns => { foobar => 'http://example.com/schema#foobar', } # registering xmlns }; # registering feed url feedurl myentry => ( entry_class => 'MyEntry', # class name for the entry default => 'http://example.com/myfeed', ); 1; package MyEntry; use Moose; use Net::Google::DataAPI; with 'Net::Google::DataAPI::Role::Entry'; entry_has some_value => ( is => 'rw', isa => 'Str', # tagname tagname => 'some_value', # namespace namespace => 'gd', ); 1;
Net::Google::DataAPI is base implementations for modules to negotiate with Google Data APIs.
define a feed url.
define a entry attribute.
Nobuo Danjou <nobuo.danjou@gmail.com>
more pods.
Net::Google::AuthSub
Net::Google::DataAPI::Role::Service
Net::Google::DataAPI::Role::Entry
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::Google::DataAPI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Google::DataAPI
CPAN shell
perl -MCPAN -e shell install Net::Google::DataAPI
For more information on module installation, please visit the detailed CPAN module installation guide.