Mark Allen > WebService-Geocodio-0.04 > WebService::Geocodio::Location

Download:
WebService-Geocodio-0.04.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.04   Source  

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.

syntax highlighting: