No commit activity in last 3 years
No release in over 3 years
A Ruby gem to look up Washington, D.C. addresses in the master address registry, an official city database
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 0.10
~> 10.0
~> 3.4
~> 1.22

Runtime

 Project Readme

DC Address Lookup

A Ruby gem to look up Washington, D.C. addresses in the master address registry, an official city database

Build Status

Installation

Add the following to your project's Gemfile:

gem 'dc_address_lookup'

Then run

bundle install

Usage

location = DcAddressLookup.lookup "1600 Pennsylvania Ave NW"
=> #<DcAddressLookup::Location>

location.fulladdress
=> "1600 PENNSYLVANIA AVENUE NW"

location.stname
=> "PENNSYLVANIA"

location.street_type
=> "AVENUE"

location.anc
=> "2A"

location.ward
=> 2

location.psa
=> "Police Service Area 207"

location.zipcode
=> 20500

location.latitude
=> 38.89766766

location.longitude
=> -77.03654468