sunrun-node

1.0.6 • Public • Published

// TODO

const SunRun = require('sunrun-node')

const options = {
  phone: process.env.phone,
}
const sunRun = new SunRun(options)

;(async () => {
  // const data = await sunRun.requestPasswordless()
  // console.log(data)
  // const data = await sunRun.respondPasswordless(process.env.code)
  // console.log(data)
  // const data = await sunRun.cumulativeProduction()
  // console.log(data)
  const data = await sunRun.getDailyBriefing()
  console.log(data)
})()

Readme

Keywords

none

Package Sidebar

Install

npm i sunrun-node

Weekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

8.09 kB

Total Files

4

Last publish

Collaborators

  • noelportugal