https://github.com/343max/eero-ts
unofficial TypeScript client for the eero API
https://github.com/343max/eero-ts
Last synced: 12 months ago
JSON representation
unofficial TypeScript client for the eero API
- Host: GitHub
- URL: https://github.com/343max/eero-ts
- Owner: 343max
- License: mit
- Created: 2020-12-03T14:20:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-05T10:55:30.000Z (over 5 years ago)
- Last Synced: 2025-03-17T19:44:43.205Z (about 1 year ago)
- Language: TypeScript
- Size: 85 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unofficial typescript client for the eero API
Based on my [python eero client](https://github.com/343max/eero-client).
Supports:
- account
- network
- eeros
- devices (on your network)
- reboot and eero
# Usage
You need to provide a `fetch` function for http requests, you can just drop in the one from `node-fetch`.
see the sample.ts for an example.
# Submit your typings!
The types in `types.ts` are mostly educated guesses. So I made it easy to verify if the types are correct:
The sample script will dump it's output in the form of TypeScript code that you can pipe directly into a `.ts` file to see if you setup matches the current types.
Example:
```
npm run sample -s eeros > eeros.ts && code eeros.ts
```
If not please submit a pull request!