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


WebService-TWFY-API documentation  | view source Contained in the WebService-TWFY-API distribution.

Index


NAME

Top

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

VERSION

Top

Version 0.01

SYNOPSIS

Top

  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

  }

DESCRIPTION

Top

This module encapsulates a response from the API. WebService::TWFY::Response is essentially a subscall of HTTP::Response.

SUPPORT

Top

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/




AUTHOR

Top

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

COPYRIGHT

Top

SEE ALSO

Top

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


WebService-TWFY-API documentation  | view source Contained in the WebService-TWFY-API distribution.