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


Manual Reference Pages  -  VUSER::GOOGLE::PROVISIONINGAPI (3)

.ds Aq ’

NAME

VUser::Google::ProvisioningAPI - Perl module that implements the Google Apps for Your Domain Provisioning API

CONTENTS

SYNOPSIS



  use VUser::Google::ProvisioningAPI;
  my $google = new VUser::Google::ProvisioningAPI($domain,$admin,$password, $api_version);

  $google->CreateAccount($userName, $firstName, $lastName, $password);
  $google->RetrieveAccount($userName);



REQUIREMENTS

VUser::Google::ProvisioningAPI requires the following modules to be installed:
o LWP::UserAgent
o HTTP::Request
o Encode
o XML::Simple

DESCRIPTION

VUser::Google::ProvisioningAPI provides a simple interface to the Google Apps for Your Domain Provisioning API. It uses the LWP::UserAgent module for the HTTP transport, and the HTTP::Request module for the HTTP request and response.

CONSTRUCTOR

new ( $domain, $admin, $adminpassword [,$api_version] )

This is the constructor for a new VUser::Google::ProvisioningAPI object. $domain is the domain name registered with Google Apps For Your Domain, $admin is an account in the above domain that has the right to manage that domain, $adminpassword is the password for that account and $api_version is the version of the Google Provisioning API you wish to use. At this time, only ’1.0’ and ’2.0’ are supported.

Note that the constructor will NOT attempt to perform the ’ClientLogin’ call to the Google Provisioning API. Authentication happens automatically when the first API call is performed. The token will be remembered for the duration of the object, and will be automatically refreshed as needed. If you want to verify that you can get a valid token before performing any operations, follow the constructor with a call to IsAuthenticated() as such:



        print "Authentication OK\n" unless not $google->IsAuthenticated();



METHODS

The methods provided by the object will vary based on the version of the API. Please see the perldocs for specific version you are using. For example, perldoc VUser::Google::ProvisioningAPI::1.0.

EXPORT

None by default.

SEE ALSO

For support, see the Google Group at http://groups.google.com/group/apps-for-your-domain-apis

VUser::Google::ProvisioningAPI::1.0

VUser::Google::ProvisioningAPI::2.0

AUTHORS

Johan Reinalda, johan at reinalda dot net

Randy Smith, perlstalker at vuser dot net

COPYRIGHT AND LICENSE

Copyright (C) 2006 by Johan Reinalda, johan at reinalda dot net

Copyright (C) 2007 Randy Smith, perlstalker and vuser dot org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.

If you make useful modification, kindly consider emailing then to me for inclusion in a future version of this module.

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


perl v5.20.3 VUSER::GOOGLE::PROVISIONINGAPI (3) 2009-02-04

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