| WebService-Geograph-API documentation | view source | Contained in the WebService-Geograph-API distribution. |
WebService::Geograph::Request - A request object to the Geograph API
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} ;
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.
Spiros Denaxas
CPAN ID: SDEN
Lokku Ltd ( http://www.nestoria.co.uk )
s [dot] denaxas [@] gmail [dot]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-Geograph-API documentation | view source | Contained in the WebService-Geograph-API distribution. |