Socket
Book a DemoInstallSign in
Socket

hes-score

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hes-score

Home Energy Saver API =================== http://hes.lbl.gov/

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
1
-80%
Maintainers
1
Weekly downloads
 
Created
Source

Home Energy Saver API

http://hes.lbl.gov/

This is a simple to use node.js API interface for the HES SOAP based API.

Using in your project

  • npm install hes-score
      require("hes-score")(zip, details, (response) =>
        console.log response
      )
    

Using the demo file

  • EXPORT HES_ID="you_key";
  • npm install
  • npm start

Example

This is just a proof of concept example for how you can use this API interface. The basic idea is as follows.

homeScore ZIPCODE, [{
  inputTableName: 'whole_house_input',
  inputColumnName: 'floorArea'
  s_value: '1800'
}], (data, error) ->
  throw(error) if (error)
  console.log data

API

Keywords

home

FAQs

Package last updated on 09 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts