https://github.com/samccone/house-hunt-api
https://github.com/samccone/house-hunt-api
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/samccone/house-hunt-api
- Owner: samccone
- Created: 2014-02-05T05:09:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-09T00:13:59.000Z (over 12 years ago)
- Last Synced: 2025-01-28T10:49:00.261Z (over 1 year ago)
- Language: CoffeeScript
- Size: 281 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### Routes
```coffeescript
'/demographics/:zip'
'/details/:zpid'
'/homes/:zip'
'/trends/:state'
'/walk_score/:address/:lat/:lon'
POST => '/score'
```
### Home Energy Score data format
```coffeescript
$.post("http://localhost:3333/score", {zip: '02906', details: [{
inputTableName: 'whole_house_input',
inputColumnName: 'floorArea',
s_value: '1800'
}]}, (d) -> console.log(d) })
```
### Dev
* npm install -g supervisor coffeescript
* set the following API keys
* ZILLOW_ID
* EIA_KEY
* HES_ID
* WALK_SCORE_KEY
* npm install
* supervisor -x coffee app.coffee