{"id":20334894,"url":"https://github.com/mdb/phl_geocode.rb","last_synced_at":"2025-04-11T21:51:24.220Z","repository":{"id":56887971,"uuid":"6737661","full_name":"mdb/phl_geocode.rb","owner":"mdb","description":"Get latitude and longitude coordinates for a Philadelphia address.","archived":false,"fork":false,"pushed_at":"2013-05-25T23:50:15.000Z","size":269,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T17:49:30.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-17T17:16:39.000Z","updated_at":"2013-10-15T11:24:12.000Z","dependencies_parsed_at":"2022-08-21T00:50:50.400Z","dependency_job_id":null,"html_url":"https://github.com/mdb/phl_geocode.rb","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl_geocode.rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl_geocode.rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl_geocode.rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl_geocode.rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdb","download_url":"https://codeload.github.com/mdb/phl_geocode.rb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487733,"owners_count":21112188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T20:38:30.733Z","updated_at":"2025-04-11T21:51:24.189Z","avatar_url":"https://github.com/mdb.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://secure.travis-ci.org/mdb/phl_geocode.rb.png?branch=master)](https://travis-ci.org/mdb/phl_geocode.rb)\n\n# phl_geocode\n\nA Ruby gem for getting latitude and longitude coordinates for a Philadelphia address.\n\nThis is the Ruby version of the Node.js [phl-geocode](http://github.com/mdb/phl-geocode).\n\nThe gem uses Philadelphia's [311 Mobile Data Service API](http://services.phila.gov/ULRS311).\n\n## Get lat/long coordinates for a Philadelphia Address:\n\n    require \"phl_geocode\"\n    phl = PHLGeocode.new\n    phl.get_coordinates \"1500 Market Street\"\n\nExample response:\n    \n    [{\n      :address =\u003e \"1500 MARKET ST\",\n      :similarity =\u003e 100,\n      :latitude =\u003e 39.9521740263203,\n      :longitude =\u003e -75.1661518986459\n    }, {\n      :address =\u003e \"1500S MARKET ST\",\n      :similarity =\u003e 99,\n      :latitude =\u003e 39.9521740263203,\n      :longitude =\u003e -75.1661518986459\n    }]\n\n## Get the address key for a Philadelphia Address:\n\n    require \"phl_geocode\"\n    phl = PHLGeocode.new\n    phl.get_address_key \"1500 Market Street\"\n\nExample response:\n\n    {\n      :agency_id =\u003e \"26\",\n      :topic_name =\u003e \"AddressKeys\",\n      :topic_id =\u003e \"410526\",\n      :address_ref =\u003e \"01500 MARKET ST\"\n    }\n\n## Override default settings:\n\n    require \"phl_geocode\"\n    phl = PHLGeocode.new :min_confidence =\u003e 100\n    phl.get_coordinates \"1500 Market Street\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fphl_geocode.rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdb%2Fphl_geocode.rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fphl_geocode.rb/lists"}