webservice isbndb
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 39
WebService::ISBNDB 0.31
WebService::ISBNDB Perl module provides an object-oriented interface to the data API at http://isbndb.com. more>>
WebService::ISBNDB Perl module provides an object-oriented interface to the data API at http://isbndb.com. Books, authors, publishers, categories, and subjects are all represented in separate classes. The module uses the REST interface to communicate with isbndb.com.
<<less Download (0.040MB)
Added: 2006-10-14 License: Artistic License Price:
1106 downloads
WebService::Kizasi 0.1.0
WebService::Kizasi is a Perl Interface for the Kizasi Web Services. more>>
WebService::Kizasi is a Perl Interface for the Kizasi Web Services.
SYNOPSIS
use WebService::Kizasi;
use Encode qw(_utf8_off);
my $kizapi = WebService::Kizasi->new();
my @result;
$result[0] = $kizapi->c10e_word_1d(CPAN);
$result[1] = $kizapi->c10e_word_1w(CPAN);
$result[2] = $kizapi->c10e_word_1m(CPAN);
$result[3] = $kizapi->keyword_in_context(CPAN);
$result[4] = $kizapi->ranking_1d;
$result[5] = $kizapi->ranking_1w;
$result[6] = $kizapi->ranking_1m;
for my $result (@result) {
my $utf8off = $result->items->[0]->title;
_utf8_off ($utf8off);
print $utf8off,"n";
print $result->items->[0]->pubDate,"n";
print $result->items->[0]->link,"n";
print $result->items->[0]->guid,"n";
$utf8off = $result->items->[0]->description;
_utf8_off($utf8off);
print $utf8off,"n";
}
Kizasi.jp is the sight which discovers the "sign of change" (Kizasi) from blogs, and the WebService::Kizasi is a Perl interface to the Kizasi WebService API (Kizapi). For details, see http://blog.kizasi.jp/kizasi/66.
<<lessSYNOPSIS
use WebService::Kizasi;
use Encode qw(_utf8_off);
my $kizapi = WebService::Kizasi->new();
my @result;
$result[0] = $kizapi->c10e_word_1d(CPAN);
$result[1] = $kizapi->c10e_word_1w(CPAN);
$result[2] = $kizapi->c10e_word_1m(CPAN);
$result[3] = $kizapi->keyword_in_context(CPAN);
$result[4] = $kizapi->ranking_1d;
$result[5] = $kizapi->ranking_1w;
$result[6] = $kizapi->ranking_1m;
for my $result (@result) {
my $utf8off = $result->items->[0]->title;
_utf8_off ($utf8off);
print $utf8off,"n";
print $result->items->[0]->pubDate,"n";
print $result->items->[0]->link,"n";
print $result->items->[0]->guid,"n";
$utf8off = $result->items->[0]->description;
_utf8_off($utf8off);
print $utf8off,"n";
}
Kizasi.jp is the sight which discovers the "sign of change" (Kizasi) from blogs, and the WebService::Kizasi is a Perl interface to the Kizasi WebService API (Kizapi). For details, see http://blog.kizasi.jp/kizasi/66.
Download (0.012MB)
Added: 2007-02-08 License: Perl Artistic License Price:
988 downloads
WebService::MusicBrainz 0.07
WebService::MusicBrainz is a Perl module that will act as a factory using static methods to return specific web service objects. more>>
WebService::MusicBrainz is a Perl module that will act as a factory using static methods to return specific web service objects.
SYNOPSIS
use WebService::MusicBrainz;
my $artist_ws = WebService::MusicBrainz->new_artist();
my $track_ws = WebService::MusicBrainz->new_track();
my $release_ws = WebService::MusicBrainz->new_release();
METHODS
artist_new()
Return new instance of WebService::MusicBrainz::Artist object.
new_track
Return new instance of WebService::MusicBrainz::Track object.
new_release
Return new instance of WebService::MusicBrainz::Release object.
<<lessSYNOPSIS
use WebService::MusicBrainz;
my $artist_ws = WebService::MusicBrainz->new_artist();
my $track_ws = WebService::MusicBrainz->new_track();
my $release_ws = WebService::MusicBrainz->new_release();
METHODS
artist_new()
Return new instance of WebService::MusicBrainz::Artist object.
new_track
Return new instance of WebService::MusicBrainz::Track object.
new_release
Return new instance of WebService::MusicBrainz::Release object.
Download (0.012MB)
Added: 2007-04-02 License: Perl Artistic License Price:
936 downloads
WebService::Upcoming 0.05
WebService::Upcoming is a Perl interface to the Upcoming API. more>>
WebService::Upcoming is a Perl interface to the Upcoming API.
SYNOPSIS
use WebService::Upcoming;
my $upco = new WebService::Upcoming("*** UPCOMING API KEY HERE ***");
my $objc = $upco->call("event.search",
{
"search_text" => "music"
});
die("ERROR: ".$upco->err_text()."n") if (!defined($objc));
foreach (@{$objc})
{
print("EVENT: ".$_->name()." on ".$_->start_date()."n");
}
A simple interface for using the Upcoming API.
WebService::Upcoming is a subclass of LWP::UserAgent, so all of the various proxy, request limits, caching, and other features are available.
<<lessSYNOPSIS
use WebService::Upcoming;
my $upco = new WebService::Upcoming("*** UPCOMING API KEY HERE ***");
my $objc = $upco->call("event.search",
{
"search_text" => "music"
});
die("ERROR: ".$upco->err_text()."n") if (!defined($objc));
foreach (@{$objc})
{
print("EVENT: ".$_->name()." on ".$_->start_date()."n");
}
A simple interface for using the Upcoming API.
WebService::Upcoming is a subclass of LWP::UserAgent, so all of the various proxy, request limits, caching, and other features are available.
Download (0.006MB)
Added: 2007-04-02 License: Perl Artistic License Price:
935 downloads
WebService::Mappoint 0.30
WebService::Mappoint is a client SOAP implementation for Mappoint, Microsofts geographic maps web service, based on SOAP::Lite. more>>
WebService::Mappoint is a client SOAP implementation for Mappoint, Microsofts geographic maps web service, based on SOAP::Lite.
SYNOPSIS
Map fetch example for use with Mappoint 3.0 service.
use WebService::Mappoint;
use MIME::Base64;
my $render = new WebService::Mappoint::Render();
my $map;
$map = $render->GetMap(
specification => [
DataSourceName => MapPoint.EU,
Options => [
Format => [
Height => 320,
Width => 320
],
],
Views => [
MapView:ViewByScale =>
[
CenterPoint =>
[ Latitude => 37.7632,
Longitude => -122.439702 ],
MapScale => 100000000
],
],
Pushpins => [
Pushpin =>
[
IconName => 176,
IconDataSource => MapPoint.Icons,
PinID => san_francisco,
Label => San Francisco,
ReturnsHotArea => false,
LatLong => [ Latitude => 37.7632,
Longitude => -122.439702 ],
]
]
] );
my $image = decode_base64($map->result->{MapImage}{MimeData}{Bits});
open( GIF, ">san_francisco.gif" );
print( GIF $image );
<<lessSYNOPSIS
Map fetch example for use with Mappoint 3.0 service.
use WebService::Mappoint;
use MIME::Base64;
my $render = new WebService::Mappoint::Render();
my $map;
$map = $render->GetMap(
specification => [
DataSourceName => MapPoint.EU,
Options => [
Format => [
Height => 320,
Width => 320
],
],
Views => [
MapView:ViewByScale =>
[
CenterPoint =>
[ Latitude => 37.7632,
Longitude => -122.439702 ],
MapScale => 100000000
],
],
Pushpins => [
Pushpin =>
[
IconName => 176,
IconDataSource => MapPoint.Icons,
PinID => san_francisco,
Label => San Francisco,
ReturnsHotArea => false,
LatLong => [ Latitude => 37.7632,
Longitude => -122.439702 ],
]
]
] );
my $image = decode_base64($map->result->{MapImage}{MimeData}{Bits});
open( GIF, ">san_francisco.gif" );
print( GIF $image );
Download (0.008MB)
Added: 2007-04-02 License: Perl Artistic License Price:
935 downloads
WebService::Eventful 1.0
WebService::Eventful is a Perl interface to EVDB public API. more>>
WebService::Eventful is a Perl interface to EVDB public API.
SYNOPSIS
use WebService::Eventful;
my $evdb = WebService::Eventful->new(app_key => $app_key);
$evdb->login(user => harry, password => H0gwart$)
or die "Cant log in: $WebService::Eventful::errstr";
# call() accepts either an array ref or a hash ref.
my $event = $evdb->call(events/get, {id => E0-001-000218163-6})
or die "Cant retrieve event: $WebService::Eventful::errstr";
print "Title: $event->{title}n";
my $venue = $evdb->call(venues/get, [id => $event->{venue_id}])
or die "Cant retrieve venue: $WebService::Eventful::errstr";
print "Venue: $venue->{name}n";
The Eventful API allows you to build tools and applications that interact with Eventful. This module provides a Perl interface to that API, including the digest-based authentication infrastructure.
<<lessSYNOPSIS
use WebService::Eventful;
my $evdb = WebService::Eventful->new(app_key => $app_key);
$evdb->login(user => harry, password => H0gwart$)
or die "Cant log in: $WebService::Eventful::errstr";
# call() accepts either an array ref or a hash ref.
my $event = $evdb->call(events/get, {id => E0-001-000218163-6})
or die "Cant retrieve event: $WebService::Eventful::errstr";
print "Title: $event->{title}n";
my $venue = $evdb->call(venues/get, [id => $event->{venue_id}])
or die "Cant retrieve venue: $WebService::Eventful::errstr";
print "Venue: $venue->{name}n";
The Eventful API allows you to build tools and applications that interact with Eventful. This module provides a Perl interface to that API, including the digest-based authentication infrastructure.
Download (0.008MB)
Added: 2007-03-27 License: Perl Artistic License Price:
941 downloads
WebService::YouTube 1.0.0
WebService::YouTube is a Perl interfece to YouTube. more>>
WebService::YouTube is a Perl interfece to YouTube.
SYNOPSIS
use WebService::YouTube;
my $youtube = WebService::YouTube->new( { dev_id => YOUR_DEV_ID } );
# Get videos via REST API
my @videos = $youtube->videos->list_featured;
# Get videos via RSS Feed
my @videos = $youtube->feeds->recently_added;
<<lessSYNOPSIS
use WebService::YouTube;
my $youtube = WebService::YouTube->new( { dev_id => YOUR_DEV_ID } );
# Get videos via REST API
my @videos = $youtube->videos->list_featured;
# Get videos via RSS Feed
my @videos = $youtube->feeds->recently_added;
Download (0.046MB)
Added: 2007-04-02 License: Perl Artistic License Price:
951 downloads
Open 4GL WebServices 0.2 Beta
Open 4GL WebServices is an opensource project to implement a wizard and a framework. more>>
Open 4GL WebServices is an opensource project to implement a wizard and a framework to make it easy to publish PROGRESS procedures as WebServices generating the WSDL and WS code, without requiring the developer to learn XML or the framework itself.
With this tool the developer can select an existing PROGRESS procedure and produce the WSDL file and/or a proxy procedure that handle the SOAP call and translate between SOAP and PROGRESS datatypes. Open 4GL WebServices also can handle the WS-I security recommendation requiring a custom procedure to authenticate the user/password.
Also, the generated proxy procedure is based on procedure templates (skeletons), these templates allow the developer to choose how to deploy the webservice. The developer can choose between webspeed, a batch version to call it from a CGI, a socket based version, or a custom template, etc.
This kind of project had been there for years, i had read some documents about howto build it, but nobody had been released the complete solution as open source by now. Its an alternative to the commercial version distributed by PROGRESS, only that this version doesnt require Sonic MQ or the AppServer to run properly.
Installation:
Put the entire o4glws directory somewhere in the PROPATH and make a copy the
file o4glws.i in any directory in the PROPATH of the deployment machine, because its needed to compile the deployed webservice adapter procedures.
INCLUDED FILES
o4glwsAdapter.p Webservice adapter generator
o4glwso4glws.i Library included in every adapter
o4glwso4glws.w Wizard to generate adapter/WSDL files
o4glwsprocDlg.w Dialog to select the procedures to include in the
webservice
o4glwsprocInfo.i Temp-table definitions used by all programs
o4glwsprocInfo.p Extracts the information about internal procedure,
functions and temp-tables of a procedure file
o4glwsREADME.TXT This file
o4glwsLicense.txt Software license
o4glwstransparent.ico The wizards icon
o4glwsWizard3.gif One of the wizards images
o4glwsSuccess.gif One of the wizards images
o4glwsError.gif One of the wizards images
o4glwsWSDL.p WSDL adapter generator
o4glwssample Samples of the generated code
o4glwstemplates Templates used to generate adapters
Enhancements:
- A "Unable to use Namespace: []" message was removed.
- Malformed Web service addresses were corrected.
- A problem where the generated WSDL did not correctly describe the output parameters of the Adapters was fixed.
- Buffer handlers for output tables are no longer needed.
- Date parameters are now supported.
- Speed for output tables was optimized.
- Expiration date and time parameters were added to securityTemplate.p.
- A fault report was added.
<<lessWith this tool the developer can select an existing PROGRESS procedure and produce the WSDL file and/or a proxy procedure that handle the SOAP call and translate between SOAP and PROGRESS datatypes. Open 4GL WebServices also can handle the WS-I security recommendation requiring a custom procedure to authenticate the user/password.
Also, the generated proxy procedure is based on procedure templates (skeletons), these templates allow the developer to choose how to deploy the webservice. The developer can choose between webspeed, a batch version to call it from a CGI, a socket based version, or a custom template, etc.
This kind of project had been there for years, i had read some documents about howto build it, but nobody had been released the complete solution as open source by now. Its an alternative to the commercial version distributed by PROGRESS, only that this version doesnt require Sonic MQ or the AppServer to run properly.
Installation:
Put the entire o4glws directory somewhere in the PROPATH and make a copy the
file o4glws.i in any directory in the PROPATH of the deployment machine, because its needed to compile the deployed webservice adapter procedures.
INCLUDED FILES
o4glwsAdapter.p Webservice adapter generator
o4glwso4glws.i Library included in every adapter
o4glwso4glws.w Wizard to generate adapter/WSDL files
o4glwsprocDlg.w Dialog to select the procedures to include in the
webservice
o4glwsprocInfo.i Temp-table definitions used by all programs
o4glwsprocInfo.p Extracts the information about internal procedure,
functions and temp-tables of a procedure file
o4glwsREADME.TXT This file
o4glwsLicense.txt Software license
o4glwstransparent.ico The wizards icon
o4glwsWizard3.gif One of the wizards images
o4glwsSuccess.gif One of the wizards images
o4glwsError.gif One of the wizards images
o4glwsWSDL.p WSDL adapter generator
o4glwssample Samples of the generated code
o4glwstemplates Templates used to generate adapters
Enhancements:
- A "Unable to use Namespace: []" message was removed.
- Malformed Web service addresses were corrected.
- A problem where the generated WSDL did not correctly describe the output parameters of the Adapters was fixed.
- Buffer handlers for output tables are no longer needed.
- Date parameters are now supported.
- Speed for output tables was optimized.
- Expiration date and time parameters were added to securityTemplate.p.
- A fault report was added.
Download (0.060MB)
Added: 2006-05-04 License: GPL (GNU General Public License) Price:
1269 downloads
WebService::Basecamp 0.1.3
WebService::Basecamp is a Perl interface to the Basecamp API webservice. more>>
WebService::Basecamp is a Perl interface to the Basecamp API webservice.
SYNOPSIS
use WebService::Basecamp;
my $bc = WebService::Basecamp->new( url => http://mysite.clientsection.com,
user => username,
pass => password );
my $test = $bc->ping || die $bc->error();
my $projects = $bc->projects; # a list of all projects
Basecamp is a web based project collaboration tool that makes it simple to communicate and collaborate on projects. Basecamp is built on the Ruby on Rails platform but provides a webservice API to many of the application functions. WebService::Basecamp is a Perl interface to the Basecamp web service API.
For more information on Basecamp, visit the Basecamp website. http://www.basecamphq.com.
This module does much of the heavy lifting for you when accessing the Basecamp API. Once initialising a WebService::Basecamp object you can access the API function via method calls. The module takes care of the creation and parsing of the XML (using XML::Simple) that relays the data across the web service, however there is an option to access the XML directly (see new()).
The documentation for this module is based on the Basecamp API docs available at http://www.basecamphq.com/api. It is recommended you read the official docs to become familiar with the data reference.
<<lessSYNOPSIS
use WebService::Basecamp;
my $bc = WebService::Basecamp->new( url => http://mysite.clientsection.com,
user => username,
pass => password );
my $test = $bc->ping || die $bc->error();
my $projects = $bc->projects; # a list of all projects
Basecamp is a web based project collaboration tool that makes it simple to communicate and collaborate on projects. Basecamp is built on the Ruby on Rails platform but provides a webservice API to many of the application functions. WebService::Basecamp is a Perl interface to the Basecamp web service API.
For more information on Basecamp, visit the Basecamp website. http://www.basecamphq.com.
This module does much of the heavy lifting for you when accessing the Basecamp API. Once initialising a WebService::Basecamp object you can access the API function via method calls. The module takes care of the creation and parsing of the XML (using XML::Simple) that relays the data across the web service, however there is an option to access the XML directly (see new()).
The documentation for this module is based on the Basecamp API docs available at http://www.basecamphq.com/api. It is recommended you read the official docs to become familiar with the data reference.
Download (0.023MB)
Added: 2007-01-11 License: Perl Artistic License Price:
1017 downloads
WebService::TestSystem 0.06
WebService::TestSystem is a Perl module with Web service for implementing a distributed testing system. more>>
WebService::TestSystem is a Perl module with Web service for implementing a distributed testing system.
my $testsys = new WebService::TestSystem;
# Getting a list of tests foreach my $test (@{$testsys->get_tests()}) { print "$test->{id} $test->{descriptor}n"; }
# Getting a list of hosts foreach my $host (@{$testsys->get_hosts()}) { print "$host->{id} $host->{descriptor}n"; }
# Submitting tests my %request; if (! $testsys->validate_test_request(%request) ) { my %errors = $testsys->get_validation_errors(); } else { my $test_request_id = $testsys->request_test(%request); print "Test request #$test_request_id submittedn"; }
# System Metrics @metrics = $testsys->metrics_test_run_time(2004, 12); @metrics = $testsys->metrics_requests_per_month(2004, all) @metrics = $testsys->metrics_distros_tested_per_month(2004) etc.
WebService::TestSystem presents a programmatic interface (API) for remote interactions with a software testing service. In other words, this provides a set of remote procedure calls (RPCs) for requesting test runs, monitoring systems under test (SUT), and so forth.
<<lessmy $testsys = new WebService::TestSystem;
# Getting a list of tests foreach my $test (@{$testsys->get_tests()}) { print "$test->{id} $test->{descriptor}n"; }
# Getting a list of hosts foreach my $host (@{$testsys->get_hosts()}) { print "$host->{id} $host->{descriptor}n"; }
# Submitting tests my %request; if (! $testsys->validate_test_request(%request) ) { my %errors = $testsys->get_validation_errors(); } else { my $test_request_id = $testsys->request_test(%request); print "Test request #$test_request_id submittedn"; }
# System Metrics @metrics = $testsys->metrics_test_run_time(2004, 12); @metrics = $testsys->metrics_requests_per_month(2004, all) @metrics = $testsys->metrics_distros_tested_per_month(2004) etc.
WebService::TestSystem presents a programmatic interface (API) for remote interactions with a software testing service. In other words, this provides a set of remote procedure calls (RPCs) for requesting test runs, monitoring systems under test (SUT), and so forth.
Download (0.039MB)
Added: 2007-03-01 License: Perl Artistic License Price:
967 downloads
WebService::GoogleHack 0.15
WebService::GoogleHack is a Perl package that ties together all GoogleHack modules. more>>
WebService::GoogleHack is a Perl package that ties together all GoogleHack modules (Webservice::GoogleHack::Search, Webservice::GoogleHack::Spelling, Webservice::GoogleHack::Rate, and Webservice::GoogleHack::Text) to implement Natural Language Processing techniques that use the World Wide Web as a source of information. Use this package to access all the functionality of GoogleHack.
SYNOPSIS
use WebService::GoogleHack;
my $google = new WebService::GoogleHack;
#Initializing the object to the contents of the configuration file
# API Key, GoogleSearch.wsdl file location.
$google->initConfig("initconfig.txt");
#Printing the contents of the configuration file
$google->printConfig();
#Measure the semantic relatedness between the words "white house" and
#"president".
$measure=$google->measureSemanticRelatedness1("white house","president");
print "nRelatedness measure between white house and president is: ";
print $measure."n";
#Going to search for words that are related to "toyota" and "ford"
my @terms=();
push(@terms,"toyota");
push(@terms,"ford");
#The parameters are the search terms, number of web page results to look
#at, the number of iterations,output file and the "true" indicates that the
#diagnostic data should be stored in the file "results.txt"
$results=$google->Algorithm1(@terms,10,25,1,"results.txt","true");
print $results;
WebService::GoogleHack is a PERL package that interacts with the Google API, and implements basic functions that allow the user to interact with Google and retrieve results in an easy to use format. GoogleHack also implements and extends a number of Natural Language Processing by using the World Wide Web as a source of information.
Main features:
- Issue queries to Google (WebService::GoogleHack, WebService::GoogleHack::Search)
- Retrieve Spelling suggestions from Google (WebService::GoogleHack, WebService::GoogleHack::Spelling)
- Find the Pointwise Mututal Information (PMI) measure between two words (WebService::GoogleHack,WebService::GoogleHack::Rate)
- Given a paragraph find if the paragraph has a positive or negative semantic orientation.(WebService::GoogleHack,WebService::GoogleHack::Rate)
- Given a set of words along with a positively oriented word such as "excellent" and a negatively oriented word such as "poor", find if the word has a positive or negative semantic orientation.(WebService::GoogleHack,WebService::GoogleHack::Rate)
- Given a set of phrases along with a positively oriented word such as "excellent" and a negatively oriented word such as "poor", predict if the given phrases are positive or negative in sentiment.(WebService::GoogleHack,WebService::GoogleHack::Rate)
- Given two or more words finds a set of related words. (WebService::GoogleHack)
<<lessSYNOPSIS
use WebService::GoogleHack;
my $google = new WebService::GoogleHack;
#Initializing the object to the contents of the configuration file
# API Key, GoogleSearch.wsdl file location.
$google->initConfig("initconfig.txt");
#Printing the contents of the configuration file
$google->printConfig();
#Measure the semantic relatedness between the words "white house" and
#"president".
$measure=$google->measureSemanticRelatedness1("white house","president");
print "nRelatedness measure between white house and president is: ";
print $measure."n";
#Going to search for words that are related to "toyota" and "ford"
my @terms=();
push(@terms,"toyota");
push(@terms,"ford");
#The parameters are the search terms, number of web page results to look
#at, the number of iterations,output file and the "true" indicates that the
#diagnostic data should be stored in the file "results.txt"
$results=$google->Algorithm1(@terms,10,25,1,"results.txt","true");
print $results;
WebService::GoogleHack is a PERL package that interacts with the Google API, and implements basic functions that allow the user to interact with Google and retrieve results in an easy to use format. GoogleHack also implements and extends a number of Natural Language Processing by using the World Wide Web as a source of information.
Main features:
- Issue queries to Google (WebService::GoogleHack, WebService::GoogleHack::Search)
- Retrieve Spelling suggestions from Google (WebService::GoogleHack, WebService::GoogleHack::Spelling)
- Find the Pointwise Mututal Information (PMI) measure between two words (WebService::GoogleHack,WebService::GoogleHack::Rate)
- Given a paragraph find if the paragraph has a positive or negative semantic orientation.(WebService::GoogleHack,WebService::GoogleHack::Rate)
- Given a set of words along with a positively oriented word such as "excellent" and a negatively oriented word such as "poor", find if the word has a positive or negative semantic orientation.(WebService::GoogleHack,WebService::GoogleHack::Rate)
- Given a set of phrases along with a positively oriented word such as "excellent" and a negatively oriented word such as "poor", predict if the given phrases are positive or negative in sentiment.(WebService::GoogleHack,WebService::GoogleHack::Rate)
- Given two or more words finds a set of related words. (WebService::GoogleHack)
Download (0.088MB)
Added: 2006-11-28 License: Perl Artistic License Price:
1060 downloads
WebService::GoogleMaps 0.07
WebService::GoogleMaps is an automated interface to Google Maps. more>>
WebService::GoogleMaps is an automated interface to Google Maps.
SYNOPSIS
use WebService::GoogleMaps;
# Set up a new object with a viewport of 640 x 480 pixels
my $gmap = WebService::GoogleMaps->new( 640, 480 );
# Specify a location to view
$gmap->set(
latitude => 40.750275,
longitude => -73.993034,
zoom_level => 4, # valid values are 0..14, lower value is more zoomed
cache_dir => "/tmp", # optional, but recommended! Helps speed up future requests
pan_x => 0, # move viewport to the east (+) or west (-) a number of pixels
pan_y => 0, # move viewport to the south (+) or north (-) a number of pixels
);
# create a GD object containing our bitmapped map object
$gmap->generate_gd();
# or simply
# $gmap->generate_gd(40.750275, -73.993034, 4); # latitude, longitude, zoom_level
my $error = $gmap->error();
$error && print "Error: $errorn";
open (FH, ">", "mymap.png");
binmode FH;
print FH $gmap->{gd}->png;
close(FH);
WebService::GoogleMaps provides an automated interface to Google Maps http://maps.google.com/, which provides free street maps of locations in the USA and Canada. This module allows you to specify an image size, latitude, longitude, and zoom level and returns a GD object containing a street level map.
<<lessSYNOPSIS
use WebService::GoogleMaps;
# Set up a new object with a viewport of 640 x 480 pixels
my $gmap = WebService::GoogleMaps->new( 640, 480 );
# Specify a location to view
$gmap->set(
latitude => 40.750275,
longitude => -73.993034,
zoom_level => 4, # valid values are 0..14, lower value is more zoomed
cache_dir => "/tmp", # optional, but recommended! Helps speed up future requests
pan_x => 0, # move viewport to the east (+) or west (-) a number of pixels
pan_y => 0, # move viewport to the south (+) or north (-) a number of pixels
);
# create a GD object containing our bitmapped map object
$gmap->generate_gd();
# or simply
# $gmap->generate_gd(40.750275, -73.993034, 4); # latitude, longitude, zoom_level
my $error = $gmap->error();
$error && print "Error: $errorn";
open (FH, ">", "mymap.png");
binmode FH;
print FH $gmap->{gd}->png;
close(FH);
WebService::GoogleMaps provides an automated interface to Google Maps http://maps.google.com/, which provides free street maps of locations in the USA and Canada. This module allows you to specify an image size, latitude, longitude, and zoom level and returns a GD object containing a street level map.
Download (0.011MB)
Added: 2006-11-24 License: Perl Artistic License Price:
1067 downloads
WebService::TicketAuth 1.05
WebService::TicketAuth is a ticket-based authentication module for SOAP services. more>>
WebService::TicketAuth is a ticket-based authentication module for SOAP services.
SYNOPSIS
@WebService::MyService::ISA = qw(WebService::TicketAuth);
WebService::TicketAuth is an authentication system for SOAP-based web services, that provides a signature token (like a cookie) to the client that it can use for further interactions with the server. This means that the user can login and establish their credentials for their session, then use various tools without having to provide a password for each operation. Sessions can be timed out, to mitigate against a ticket being used inappropriately.
This is similar in philosophy to authenticated web sessions where the user logs in and gains a cookie that it can use for further interactions. For example, see Apache::AuthTicket. However, such systems require a web server such as Apache to handle the authentication. This module provides a mechanism that can be used outside of a web server. In particular, it is designed for use with a SOAP daemon architecture.
This module was originally developed by Paul Kulchenko in 2001. See guide.soaplite.com for more info.
FUNCTIONS
new()
Creates a new instance of TicketAuth. Establishes several private member functions for authentication, to calculate, make, and check the authInfo.
get_error()
Returns the most recent error message. If any of this modules routines return undef, this routine can be called to retrieve a message about what happened. If several errors have occurred, this will only return the most recently encountered one.
ticket_duration($username)
This routine defines how long a ticket should last. Override it to customize the ticket lengths. The username is provided when requesting this information, to permit applications to vary ticket length based on the users access level, if desired. If $username is undef, then a generic duration should be returned.
By default, the ticket duration is defined to be 20 minutes (or 20*60 seconds).
get_username($header)
Retrieves the username from the auth section of the SOAP header
is_valid($username, $password)
Routine to determine if the given user credentials are valid. Returns 1 to indicate if the credentials are accepted, or undef if not. Error messages can be retrieved from the get_error() routine.
Override this member function to implement your own authentication system. This base class function always returns false.
login()
This routine is called by users to establish their credentials. It returns an AuthInfo ticket on success, or undef if the login failed for any reason. The error message can be retrieved from get_error().
It checks credentials by calling the is_valid() routine, which should be overridden to hook in your own authentication system.
<<lessSYNOPSIS
@WebService::MyService::ISA = qw(WebService::TicketAuth);
WebService::TicketAuth is an authentication system for SOAP-based web services, that provides a signature token (like a cookie) to the client that it can use for further interactions with the server. This means that the user can login and establish their credentials for their session, then use various tools without having to provide a password for each operation. Sessions can be timed out, to mitigate against a ticket being used inappropriately.
This is similar in philosophy to authenticated web sessions where the user logs in and gains a cookie that it can use for further interactions. For example, see Apache::AuthTicket. However, such systems require a web server such as Apache to handle the authentication. This module provides a mechanism that can be used outside of a web server. In particular, it is designed for use with a SOAP daemon architecture.
This module was originally developed by Paul Kulchenko in 2001. See guide.soaplite.com for more info.
FUNCTIONS
new()
Creates a new instance of TicketAuth. Establishes several private member functions for authentication, to calculate, make, and check the authInfo.
get_error()
Returns the most recent error message. If any of this modules routines return undef, this routine can be called to retrieve a message about what happened. If several errors have occurred, this will only return the most recently encountered one.
ticket_duration($username)
This routine defines how long a ticket should last. Override it to customize the ticket lengths. The username is provided when requesting this information, to permit applications to vary ticket length based on the users access level, if desired. If $username is undef, then a generic duration should be returned.
By default, the ticket duration is defined to be 20 minutes (or 20*60 seconds).
get_username($header)
Retrieves the username from the auth section of the SOAP header
is_valid($username, $password)
Routine to determine if the given user credentials are valid. Returns 1 to indicate if the credentials are accepted, or undef if not. Error messages can be retrieved from the get_error() routine.
Override this member function to implement your own authentication system. This base class function always returns false.
login()
This routine is called by users to establish their credentials. It returns an AuthInfo ticket on success, or undef if the login failed for any reason. The error message can be retrieved from get_error().
It checks credentials by calling the is_valid() routine, which should be overridden to hook in your own authentication system.
Download (0.011MB)
Added: 2006-12-21 License: Perl Artistic License Price:
1038 downloads
WebService::Google::Sets 0.01
WebService::Google::Sets is a Perl access to Google Labs Sets site. more>>
WebService::Google::Sets is a Perl access to Google Labs Sets site.
SYNOPSIS
use WebService::Google::Sets;
my @os_list = qw(Linux Windows Solaris);
my $expanded_os_list = get_gset(@os_list);
# check something came back
die "No results returned from server" unless $expanded_os_list;
foreach my $element (@$expanded_os_list) {
print $element, "n";
}
WebService::Google::Sets provides function based access to the Sets service hosted at Google Labs.
The Sets service attempts to expand the values you provide. The example provided in the SYNOPSIS would return an array that included "Windows NT", "HPUX" and "AIX" as values in addition to those supplied.
<<lessSYNOPSIS
use WebService::Google::Sets;
my @os_list = qw(Linux Windows Solaris);
my $expanded_os_list = get_gset(@os_list);
# check something came back
die "No results returned from server" unless $expanded_os_list;
foreach my $element (@$expanded_os_list) {
print $element, "n";
}
WebService::Google::Sets provides function based access to the Sets service hosted at Google Labs.
The Sets service attempts to expand the values you provide. The example provided in the SYNOPSIS would return an array that included "Windows NT", "HPUX" and "AIX" as values in addition to those supplied.
Download (0.003MB)
Added: 2006-11-21 License: Perl Artistic License Price:
1068 downloads
WebService::FC2::SpamAPI 0.02
WebService::FC2::SpamAPI is a FC2 blog spam API client. more>>
WebService::FC2::SpamAPI is a FC2 blog spam API client.
SYNOPSIS
use WebService::FC2::SpamAPI;
my $api = WebService::FC2::SpamAPI->new();
$res = $api->check_url(http://spam.example.com);
if ( $res->is_spam ) { ....
@res = $api->get_url_list();
@res = $api->get_domain_list({ dm => foo.example.com });
FUNCTIONS
new
Constructor.
my $api = WebService::FC2::SpamAPI->new();
# use Cache ( see URI::Fetch )
my $api = WebService::FC2::SpamAPI->new({ cache => $cache_object });
check_url
Check URL for FC2 spam list. Returns WebService::FC2::SpamAPI::Response object.
# simple check
$res = $api->check_url(http://xxx.example.com);
if ( $res->is_spam ) { ....
# returns detailed data
# see also http://seo.fc2.com/spam/spamapi.php?m=h
$res = $api->check_url({ url => http://xxx.exampl.com,
usid => 0000,
data => 1, });
$res->is_spam;
$res->usid; # fc2 userid
$res->name; # site name
$res->comment; # comment
# see WebService::FC2::SpamAPI::Response
get_url_list
Get registered spam URL list. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_url_list();
@res = $api->get_url_list({ usid => 0000 }); # grep by userid
get_domain_list
Get registered spam URL list in domain. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_domain_list({ dm => example.com }); # dm is required.
@res = $api->get_domain_list({
dm => example.com,
usid => 0000, # grep by userid
});
<<lessSYNOPSIS
use WebService::FC2::SpamAPI;
my $api = WebService::FC2::SpamAPI->new();
$res = $api->check_url(http://spam.example.com);
if ( $res->is_spam ) { ....
@res = $api->get_url_list();
@res = $api->get_domain_list({ dm => foo.example.com });
FUNCTIONS
new
Constructor.
my $api = WebService::FC2::SpamAPI->new();
# use Cache ( see URI::Fetch )
my $api = WebService::FC2::SpamAPI->new({ cache => $cache_object });
check_url
Check URL for FC2 spam list. Returns WebService::FC2::SpamAPI::Response object.
# simple check
$res = $api->check_url(http://xxx.example.com);
if ( $res->is_spam ) { ....
# returns detailed data
# see also http://seo.fc2.com/spam/spamapi.php?m=h
$res = $api->check_url({ url => http://xxx.exampl.com,
usid => 0000,
data => 1, });
$res->is_spam;
$res->usid; # fc2 userid
$res->name; # site name
$res->comment; # comment
# see WebService::FC2::SpamAPI::Response
get_url_list
Get registered spam URL list. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_url_list();
@res = $api->get_url_list({ usid => 0000 }); # grep by userid
get_domain_list
Get registered spam URL list in domain. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_domain_list({ dm => example.com }); # dm is required.
@res = $api->get_domain_list({
dm => example.com,
usid => 0000, # grep by userid
});
Download (0.005MB)
Added: 2007-03-27 License: Perl Artistic License Price:
941 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above webservice isbndb search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed