
WebService::TWFY::Request - API interface for TheyWorkForYou.com

Version 0.01

use WebService::TWFY::API ;
my $rh = { key => 'ABC123' };
my $api = WebService::TWFY::API->new( $rh ) ;
my $rv = $api->query ( 'getConstituency', { 'postcode' => 'W128JL'
'output' => 'xml',
} ) ;
if ($rv->{is_success}) {
my $results = $rv->{results} ;
### do whatever with results
}

This module encapsulates a single request and its arguments. WebService::TWFY::Request is essentially a subscall of HTTP::Request.

Please feel free to send any bug reports and suggestions to my email listed below.
For more information and useless facts on my life, you can also check my blog:
http://idaru.blogspot.com/

Spiros Denaxas
CPAN ID: SDEN
Lokku Ltd
s [dot] denaxas [@] gmail [dot]com
http://idaru.blogspot.com

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.

WebService::TWFY::API, WebService::TWFY::Response, http://www.theyworkforyou.com/api/, http://www.theyworkforyou.com/