Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including philly-hoods with all npm packages installed. Try it out:

var phillyHoods = require("philly-hoods")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

philly-hoods v1.0.0

An API wrapper for phillyhoods.net - a neighborhoods API for Philadelphia

philly hoods (Node wrapper)

A wrapper for the phillyhoods.net API.

build status

Installation

npm install philly-hoods

Usage

var hoods = require('philly-hoods');  

hoods.findByCoords(39.972176, -75.158587, function (err, res) {
  if (err) console.log(err);

  return console.log(res);
});

hoods.findByName('bella', function (err, res) {
  if (err) console.log(err);

  return console.log(res);
});
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free