0.0.1 • Published 9 months ago
energy_star_client v0.0.1
Energy Star Client
A library of methods to work with Energy Star APIs.
Usage
Install package:
npm i energy_star_client
// ESM
import { PortfolioManagerClient } from "energy_star_client";
// CommonJS
const { PortfolioManagerClient } = require("energy_star_client");
const client = new PortfolioManagerClient(
'https://portfoliomanager.energystar.gov/wstest',
'username',
'password',
);
const customer = await client.createCustomer({});
Development
- Clone this repository
- Install latest version of Node
nvm i node
- Install dependencies using
npm install
- Run interactive tests using
npm run spec
License
Made with 💛 by Aidan Hibbard
Published under MIT License.