Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
unsync committed Jan 24, 2024
1 parent e979dd2 commit f12b36d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
# veolia-client

### usage

```ts
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'))
```

0 comments on commit f12b36d

Please sign in to comment.