Λόρδος Σπύρος Δεναξάς > WebService-Geograph-API-0.05 > WebService::Geograph::Request

Download:
WebService-Geograph-API-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source  

NAME ^

WebService::Geograph::Request - A request object to the Geograph API

SYNOPSIS ^

  use WebService::Geograph::API;
  
  my $api = new WebService::Geograph::API ( { 'key' => 'your_api_key_here'} ) ;

  my $rv = $api->lookup ( 'csv', { 'i'     => 12345,
                                   'll'    => 1,
                                   'thumb' => 1,
                                 }) ;

  my $data = $rd->{results} ;

DESCRIPTION ^

This object encapsulates a single request and its parameters the user specified to the Geograph API sevice.

The WebService::GeoGraph::Request object is essentially a subclass of HTTP::Request so you can actually edit its usual parameters as much as you want.

AUTHOR ^

    Spiros Denaxas
    CPAN ID: SDEN
    Lokku Ltd ( http://www.nestoria.co.uk )
    s [dot] denaxas [@] gmail [dot]com

COPYRIGHT ^

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.

SEE ALSO ^

WebService::Geograph::API, WebService::Geograph::Response, http://www.geograph.co.uk, http://www.geograph.org.uk/help/api#api

syntax highlighting: