- Timestamp:
- 04/23/08 22:43:22 (7 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/WebService-Simple/trunk/lib/WebService/Simple.pm
r10078 r10211 156 156 } 157 157 158 # まだできてない。159 158 sub post 160 159 { … … 212 211 It's basically an LWP::UserAgent that remembers recurring api URLs and 213 212 parameters, plus sugar to parse the results. 214 215 213 216 214 =head1 SUBCLASSING … … 261 259 This allows great flexibility in handling different webservices 262 260 261 =head1 CACHING 262 263 my $cache = Cache::File->new( 264 cache_root => '/tmp/mycache', 265 default_expires => '30 min', 266 ); 267 268 my $flickr = WebService::Simple->new( 269 base_url => "http://api.flickr.com/services/rest/", 270 cache => $cache, 271 param => { api_key => "your_api_key, } 272 ); 273 274 263 275 =head1 AUTHOR 264 276 … … 270 282 271 283 =head1 COPYRIGHT AND LICENSE 272 273 Copyright (c) 2008 Yusuke Wada, All rights reserved.274 284 275 285 This module is free software; you can redistribute it
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)