NAME
WebService::Simple::Cabinet - WSDL/WADL-like interface make for WebService::Simple.
SYNOPSIS
use WebService::Simple::Cabinet;
my $flickr = WebService::Simple::Cabinet->new(
{
global => {
name => 'flickr',
package => 'Flickr',
base_url => 'http://api.flickr.com/services/rest/',
params => {
api_key => undef,
},
},
method => [
{
name => 'echo',
params => {
method => 'flickr.test.echo',
name => undef,
},
options => {},
},
],
},
api_key => 'your_api_key',
);
my $res_xml = $flickr->echo( name => 'echo data' );
print $res_xml->{name};
unmaking syntax (TODO)
use WebService::Simple::Cabinet;
my $flickr = WebService::Simple::Cabinet->new(
'flickr',
api_key => 'your_api_key',
);
my $res_xml = $flickr->echo( name => 'echo data' );
print $res_xml->{name};
DESCRIPTION
WebService::Simple::Cabinet is make to easily Perl API interface some web services.
TODO
It is possible to use it easily by preparing the definition corresponding to some Web Service.
AUTHOR
Kazuhiro Osawa <ko@yappo.ne.jp> mattn
SEE ALSO
REPOSITORY
svn co http://svn.coderepos.org/share/lang/perl/WebService-Simple-Cabinet/trunk WebService-Simple-Cabinet
WebService::Simple::Cabinet is Subversion repository is hosted at http://coderepos.org/share/. patches and collaborators are welcome.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.