WebService::CityGrid::Search - Interface to the CityGrid Search API
$res = $cs->query({ mode => 'locations', where => '90210', what => 'pizza%20and%20burgers', });
Queries the web service. Dies if the http request fails, so eval it!
Under construction
use WebService::CityGrid::Search; $cs = WebService::CityGrid::Search->new( api_key => $my_apikey, publisher => $my_pubid, ); $url = $cs->query({ mode => 'locations', where => '90210', what => 'pizza%20and%20burgers', });
Currently just returns a url that can represents a call to the CityGrid Web Service.
http://developer.citysearch.com/docs/search/
Fred Moyer, <fred@slwifi.com>
Copyright (C) 2010 by Silver Lining Networks
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.0 or, at your option, any later version of Perl 5 you may have available.
To install WebService::CityGrid::Search, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::CityGrid::Search
CPAN shell
perl -MCPAN -e shell install WebService::CityGrid::Search
For more information on module installation, please visit the detailed CPAN module installation guide.