o::Weather::Api->new({ 'unit' => 'C'});
B<Format> return data type from api JSON B<json> or XML B<xml>
Default is B<json>
my $api = Yahoo::Weather::Api->new({ 'format' => 'xml' , 'unit' => 'F'
oeid_alternate
Fetch woeid for a place using alternate method (zip,city/location name) B<Stricty JSON return type data>
get_woeid_alternate uses unexposed Yahoo's api so no API call caping
this met
} || 'json';
$args->{unit} = $args->{unit} || 'c';
$args->{internet_check} = $args->{internet_check} || 0;
croak "Invalid format use json or xml " unless ($args->{format} =~ /^(json|xml)