API

GET /api/v1/cities/:id/neighborhoods
GET /api/v1/cities/:id/neighborhoods    List all the neighborhoods in the city with the given id.

Return an array of neighborhoods for the given city id, ordered by neighborhood name.

curl Examples

curl https://neighborland.com/api/v1/cities/bldr/neighborhoods

Example Response

[
  {
    "id": "bldr-north",
    "url": "https://neighborland.com/api/v1/neighborhoods/bldr-north",
    "alternate_url": "https://neighborland.com/neighborhoods/bldr-north",
    "name": "North Boulder"
  }
]