Subject: | Key not being passed along |
Date: | Tue, 21 Jun 2016 09:48:13 +0100 |
To: | bug-Google-GeoCoder-Smart [...] rt.cpan.org |
From: | Andy Newby <andy.newby [...] gmail.com> |
There is a major bug in this version. You have:
if($self->{key}) {
$keyVar = "&key=$self->{key}";
}
my $content = get("http://$self->{host}/maps/api/geocode/json?address=$addr
$CITY $STATE $ZIP&sensor=false");
...but should be:
my $content = get("http://$self->{host}/maps/api/geocode/json?address=$addr
$CITY $STATE $ZIP&sensor=false$keyVar");
I spent ages going round and round trying to work out why we were not
getting stats / hitting a daily limit - and this was the issue :/
Cheers
Andy Newby
WWW: http://www.ultranerds.co.uk