Services_API.html for the US for the future
use strict;
use warnings;
use Carp;
use Encode;
use JSON::MaybeXS;
use LWP::UserAgent;
use URI;
=head1 NAME
Geo::Coder::CA - Provides a Geo-Coding funct
>{host}/some_location");
$location =~ s/\s/+/g;
my %query_parameters = ('locate' => $location, 'json' => 1, 'strictmode' => 1);
$uri->query_form(%query_parameters);
my $url = $uri->as_string();
s->content_type('text/plain'); # May be needed to decode correctly
my $json = JSON::MaybeXS->new()->utf8();
if(my $rc = $json->decode($res->decoded_content())) {
if($rc->{'error'}) {
# Sorry -