tralia - Interface to the Australia PostCode.
=head1 VERSION
Version 0.12
=cut
use 5.006;
use JSON;
use Data::Dumper;
use Address::PostCode::UserAgent;
use Address::PostCode::Australia::Place;
use
ends 'Address::PostCode::UserAgent';
our $BASE_URL = 'https://auspost.com.au/api/postcode/search.json';
has 'auth_key' => (is => 'ro', required => 1);
=head1 DESCRIPTION
Interface to the API provid
;
my $response = $self->get($url, { 'auth-key' => $self->auth_key });
my $contents = from_json($response->{'content'});
my $places = [];
if (ref($contents->{'localities'}->{'locality'