API

GET /api/v1/neighbors/:id/friends
GET /api/v1/neighbors/:id/friends    List friends of the neighbor with the given id.

Return an array of neighbors who this neighbor follows.
Neighbors are returned in paged chunks. Two optional parameters control paging: "page" and "per page" (see below). The default "page" value is 1. The default "per_page" value is 10.

Parameters

page
(optional)
The number of the page. Default is 1. Must be between 1 and 10000.
per_page
(optional)
The number of ideas returned per page. Default is 10. Must be between 1 and 500.

curl Examples

curl https://neighborland.com/api/v1/neighbors/tee/friends 
curl https://neighborland.com/api/v1/neighbors/tee/friends?page=2
curl https://neighborland.com/api/v1/neighbors/tee/followers?page=2&per_page=5

Example Response

[
  {
    "id": "tee",
    "url": "https://neighborland.com/api/v1/neighbors/tee",
    "alternate_url": "https://neighborland.com/neighbors/tee",
    "name": "Tee Parham",
    "username": "tee",
    "avatar_thumb_url": "https://d5seccn5wsvj9.cloudfront.net/images/10635/medium997542975ec4eaed12a42ff136ba3b55.JPG",
    "avatar_medium_url": "https://d5seccn5wsvj9.cloudfront.net/images/10635/medium997542975ec4eaed12a42ff136ba3b55.JPG"
  }
]