The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Google::DataAPI - Base implementations for modules to negotiate with Google Data APIs

SYNOPSIS

  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;

DESCRIPTION

Net::Google::DataAPI is base implementations for modules to negotiate with Google Data APIs.

METHODS

feedurl

define a feed url.

entry_has

define a entry attribute.

AUTHOR

Nobuo Danjou <nobuo.danjou@gmail.com>

TODO

more pods.

SEE ALSO

Net::Google::AuthSub

Net::Google::DataAPI::Role::Service

Net::Google::DataAPI::Role::Entry

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.