1.1.1 • Published 4 years ago

connectbox v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

ConnectBox API

npm version

This package is a simple api wrapper for the web interface of the Connect Box (modem/router provided by ISPs e.g. Unitymedia) Currently only a couple of the web interface functions are implemented.

Installing

Using npm:

npm i connectbox

Usage

This example shows how to get an unformatted list of all currently connected devices.

import ConnectBox from 'connectbox';
// creating an ConnectBox object with the ip address of the target
const connectBox = new ConnectBox('192.168.0.1');
// logging in with the "password"
await connectBox.login('password');
// getting the list of all connected devices
const devices = await connectBox.getConnectedDevices();
console.log(devices);
1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago