The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Weather::OpenWeatherMap::Request::Find

SYNOPSIS

  # Usually created by Weather::OpenWeatherMap
  use Weather::OpenWeatherMap::Request::Find;
  my $request = Weather::OpenWeatherMap::Request::Find->new(
    tag       => 'foo',
    location  => 'Manchester',
    max       => 5,
  );

  my $http_request_obj = $request->http_request;

DESCRIPTION

A Weather::OpenWeatherMap::Request subclass for building a city search request.

ATTRIBUTES

max

The maximum number of results to ask for.

type

The type of search to perform; accurate looks for exact matches, like searches by substring.

SEE ALSO

Weather::OpenWeatherMap::Result::Find

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>

Licensed under the same terms as Perl.