{"id":20334884,"url":"https://github.com/mdb/phl-geocode","last_synced_at":"2025-07-30T01:39:31.708Z","repository":{"id":5446617,"uuid":"6639742","full_name":"mdb/phl-geocode","owner":"mdb","description":"A Node.js module for getting latitude and longitude coordinates for a Philadelphia address.","archived":false,"fork":false,"pushed_at":"2013-05-25T13:28:32.000Z","size":221,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-21T13:42:03.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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-11T15:19:20.000Z","updated_at":"2016-11-02T20:19:40.000Z","dependencies_parsed_at":"2022-08-25T21:01:16.340Z","dependency_job_id":null,"html_url":"https://github.com/mdb/phl-geocode","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mdb/phl-geocode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl-geocode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl-geocode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl-geocode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl-geocode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdb","download_url":"https://codeload.github.com/mdb/phl-geocode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fphl-geocode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265642270,"owners_count":23803852,"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:28.599Z","updated_at":"2025-07-17T18:03:40.734Z","avatar_url":"https://github.com/mdb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://secure.travis-ci.org/mdb/phl-geocode.png?branch=master)](https://travis-ci.org/mdb/phl-geocode)\n\n# phl-geocode\n\nA Node.js module for getting latitude and longitude coordinates for a Philadelphia addresses.\n\nphl-geocode is based on the geolocation component of [Mark Headd](http://twitter.com/mheadd)'s [phlfindpolls gist](https://gist.github.com/4015200).\n\nThe module uses Philadelphia's [311 Mobile Data Service API](http://services.phila.gov/ULRS311).\n\n## Getting Started\n\nInstall phl-geocode:\n\n    npm install phl-geocode\n\nRequire and instantiate phl-geocode:\n  \n    var phlGeocode = require('phl-geocode')();\n\nDefault settings:\n    \n    {\n      geoHost: 'http://services.phila.gov',\n      locationPath: '/ULRS311/Data/Location/',\n      minConfidence: 85\n      responseBody: ''\n    }\n\nOverriding default settings on instantiation:\n\n    var phlGeocode = require('phl-geocode')({\n      minConfidence: 100\n    });\n\n## Example Usage\n\nGet latitude and longitude coordinates for a Philadelpia address:\n\n    phlGeocode.getCoordinates('1500 market street', function (err, data) {\n      console.log(data);\n\n      /* Example response:\n      [ { address: '1500 MARKET ST',\n        similarity: 100,\n        latitude: 39.9521740263203,\n        longitude: -75.1661518986459 },\n      { address: '1500S MARKET ST',\n        similarity: 99,\n        latitude: 39.9521740263203,\n        longitude: -75.1661518986459 } ]\n      */\n    });\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fphl-geocode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdb%2Fphl-geocode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fphl-geocode/lists"}