ict;
use parent 'Tesla::API';
use Carp qw(croak confess);
use Data::Dumper;
use HTTP::Tiny;
use JSON;
our $VERSION = '0.08';
use constant {
DEBUG_ONLINE => $ENV{TESLA_DEBUG_ONLINE},
DEB
lf->longitude;
my $geo_data = {
lat => $lat,
lon => $lon,
format => 'json',
};
my $uri_params = $self->_address_web_client()->www_form_urlencode($geo_data);
m
if ($geocode_response->{success}) {
my $json_geocode_data = $geocode_response->{content};
my $geocode_data = decode_json($json_geocode_data);
my $address_data = $geocode_