GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::Google::DataAPI(3) User Contributed Perl Documentation Net::Google::DataAPI(3)
 

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

  package MyService;
  use Any::Moose;
  use Net::Google::DataAPI;
  with 'Net::Google::DataAPI::Role::Service';
  # registering xmlns
  has '+namespaces' => (
    default => {
        foobar => 'http://example.com/schema#foobar',
    },
  );
  # registering feed url
  feedurl myentry => (
      entry_class => 'MyEntry',
        # class name for the entry
      default => 'http://example.com/myfeed',
  );
  sub _build_auth {
      my ($self) = @_;
      # .. authsub login things, this is optional.
      # see Net::Google::Spreadsheets for typical implementation
      my $authsub = Net::Google::DataAPI::Auth::AuthSub->new(
          service => 'wise',
          account_type => 'HOSTED_OR_GOOGLE',
      );
      $authsub->login('foo.bar@gmail.com', 'p4ssw0rd');
      return $authsub;
  }
  1;
  package MyEntry;
  use Any::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.

You can set environment variable GOOGLE_DATAAPI_DEBUG=1 to see the raw requests and responses Net::Google::DataAPI sends and receives.

Nobuo Danjou <danjou@soffritto.org>

more pods.

Net::Google::AuthSub
Net::Google::DataAPI::Auth::AuthSub
Net::Google::DataAPI::Auth::ClientLogin::Multiple
Net::Google::DataAPI::Auth::OAuth
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.
2012-04-29 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.