Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 304 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 304 Bytes

veolia-client

usage

const client = new VeoliaClient({
  password: 'string',
  mail: 'string',
  pdl: 'string'
})

// all history
const allEnergyData = await client.getEnergyData(null)

// all history from a date
const partialEnergyData = await client.getEnergyData(dayjs('2024-01-01'))