0.1.3 • Published 3 years ago

@343max/eero-ts v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Unofficial typescript client for the eero API

Based on my python 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!

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago