The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WebService::Geocodio::Location - Location object for use with Geocod.io service.

VERSION

version 0.04

ATTRIBUTES

number

Buiding number

street

A street name identifier

postdirection

A address direction like 'SW' or 'S'

suffix

The type of street 'Ave', 'St', etc.

city

The city where the streets have no name.

state

State wherein city is located

zip

The postal zip code

You must have either a zip code OR a city/state pair.

lat

The latitude of the location

lng

The longitude of the location

accuracy

A float from 0 -> 1 representing the confidence of the lookup results

formatted

The full address as formatted by the service.

fields

Any requested fields are available here.

METHODS

new

The constructor accepts either a bare string OR a list of key/value pairs where the keys are the attribute names.

AUTHOR

Mark Allen <mrallen1@yahoo.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Mark Allen.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.