- Timestamp:
- 04/04/08 07:05:20 (8 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/WebService-Simple/trunk/lib/WebService/Simple.pm
r8746 r8821 78 78 =head1 NAME 79 79 80 WebService::Simple - Simple interface to Web Service APIs80 WebService::Simple - Simple interface to Web Services APIs 81 81 82 82 =head1 VERSION … … 99 99 =head1 DESCRIPTION 100 100 101 WebService::Simple provides you a simple interface to Web Serv cieAPIs101 WebService::Simple provides you a simple interface to Web Services APIs 102 102 103 103 =head1 METHODS … … 113 113 114 114 Create and return a new WebService::Simple object. 115 "new" Method requires a nbase_url of Web Service API.115 "new" Method requires a base_url of Web Service API. 116 116 117 117 =item get(I<%args>) … … 122 122 Get the WebService::Simple::Response object. 123 123 124 If you want to add a path to base URL, use option parameters.124 If you want to add a path to base URL, use an option parameter. 125 125 126 126 my $lingr = WebService::Simple->new( 127 base_url => 'http://www.lingr.com/',128 param => { api_key => "your_api_key", format => 'xml'}127 base_url => "http://www.lingr.com/", 128 param => { api_key => "your_api_key", format => "xml" } 129 129 ); 130 my $response = $lingr->get( {}, { path => '/api/session/create'} );130 my $response = $lingr->get( {}, { path => "/api/session/create" } ); 131 131 132 132 =back … … 138 138 139 139 my $cache = Cache::File->new( 140 cache_root => '/tmp/mycache',141 default_expires => '30 min',140 cache_root => "/tmp/mycache", 141 default_expires => "30 min", 142 142 ); 143 143 … … 155 155 =head1 LICENCE AND COPYRIGHT 156 156 157 Copyright (c) 2008 , Yusuke Wada C<< <yusuke@kamawada.com> >>.All rights reserved.157 Copyright (c) 2008 Yusuke Wada, All rights reserved. 158 158 159 159 This module is free software; you can redistribute it and/or
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)