Documentation for Neighbourhood API
The Neighbourhood API is organised around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, and verbs.
- Clone or fork repo.
- Run
npm install
to install node packages.
This API does not require API keys.
- JavaScript
- HTML
- CSS
- Node:
- jest
- Heroku
- Netlify
Our API uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). Codes in the 5xx range indicate an error with our's servers.
https://api.neighbourhood.com/houses <- house collection https://api.neighbourhood.com/people <- person collection https://api.neighbourhood.com/addresses <- address collection