NAME

VR::API - Communicate with VerticalResponse's API services

SYNOPSIS

VR::API provides simplified access to the VerticalResponse API services server. It is based on the SOAP::Lite package, a widely-used SOAP toolkit for Perl.

Example

#!/usr/bin/perl -w
use strict;
use VR::API;

my $vrapi = new VR::API;
$vrapi->login( { username => 'nick@verticalresponse.com', password => 'super_secret' } );

$vrapi->createList( {
    name => "A new list",
    type => "email",
} );

Available functions

See VR::API::_methods() for a list of available functions. These functions correspond to the functions listed in the VR API Enterprise WSDL file.

Note that it is not necessary to send the 'session_id' parameter with each method call; the VR::API infrastructure does that automatically after a successful call to login().

References

Enterprise API:

https://api.verticalresponse.com/wsdl/1.0/VRAPI.wsdl https://api.verticalresponse.com/wsdl/1.0/documentation.html

SEE ALSO

VR::API::Partner, the VR Partner API Perl module

BUGS

No known bugs. Please report bugs to api-support@verticalresponse.com

CREDITS

Paul Kulchenko and Bryce Harrington, for writing a fantastic SOAP toolkit in Perl. Wes Bailey for help with CPAN and packaging.

MAINTAINER

Nick Marden <nick@verticalresponse.com>

COPYRIGHT

Copyright (C) 2007, Nick Marden, VerticalResponse Inc.

VR::API is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

VR::API.pm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA