Why not adopt me?This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.
- SEE ALSO
Weather::OpenWeatherMap::Request - Weather lookup request superclass
# Normally generated via Weather::OpenWeatherMap # (when a request is made)
This is the parent class for request objects generated by Weather::OpenWeatherMap.
The "SEE ALSO" section links known subclasses.
The OpenWeatherMap API key attached to this request.
Locations can be specified in various ways.
Strings such as 'City, State' or 'City, Country' will be parsed appropriately.
A numeric location is taken to be an OpenWeatherMap city code.
A string in the form of 'lat X, long Y' or 'latitude X, longitude Y' is also accepted.
An (optional) arbitrary scalar attached to the request object at construction time.
The (generated) HTTP::Request object used to request the weather data.
time() the request object was created.
The (generated) OpenWeatherMap URL.
Factory method; returns a new object belonging to the appropriate subclass:
my $request = Weather::OpenWeatherMap::Request->new_for( Current => api_key => $api_key, location => $location, tag => $tag, );
Jon Portnoy <email@example.com>