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.
WebService::GeoGraph::Request
HTTP::Request
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, WebService::Geograph::Response, http://www.geograph.co.uk, http://www.geograph.org.uk/help/api#api
To install WebService::Geograph::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::Geograph::API
CPAN shell
perl -MCPAN -e shell install WebService::Geograph::API
For more information on module installation, please visit the detailed CPAN module installation guide.