Masafumi Yoshida > WebService-Class-0.03 > WebService::Class

Download:
WebService-Class-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

WebService::Class - WebService retrieve data by object. and have caching structure by file base or memcached base and more

VERSION ^

Version 0.01

SYNOPSIS ^

use web service

my $api = new WebService::Class::Twitter(username=>'username',password=>'password'; my $result $cache_api->public_timeline();

Cache manager use

file base cache

my $cache_manager = new WebService::Cache::FileCacheManager('cache_dir'=>'/tmp/.api_cache/'); my $cache_api = new WebService::Class::Twitter(username=>'username',password=>'password','cache_manager'=>$cache_manager); my $result = $cache_api->public_timeline();

memcached base cache

my $cache_manager = new WebService::Cache::MemcachedCacheManager('servers'=>['127.0.0.1:11211']); my $api = new WebService::Class::HatenaHaiku(username=>'username',password=>'password','cache_manager'=>$cache_manager); my $result = $api->public_timeline();

AUTHOR ^

Masafumi Yoshida, <masafumi.yoshida820 at gmail.com>

1; # End of WebService::Class

syntax highlighting: