vodafone-station
v1.1.0
Published
API wrapper for the Vodafone Station (ARRIS TG3442DE)
Downloads
15
Maintainers
Readme
Vodafone Station API
This package is a simple api wrapper for the web interface of the Vodafone Station (modem/router provided by ISPs e.g. Vodafone) Currently only a couple of the web interface functions are implemented.
Installing
Using npm:
npm i vodafone-station
Usage
This example shows how to get an unformatted list of all currently connected devices.
import VodafoneStation from 'vodafone-station';
// creating an vodafoneStation object with the ip address of the target
const vodafoneStation = new VodafoneStation('192.168.0.1');
// logging in with the "password"
await vodafoneStation.login('admin', 'password');
// getting the list of all connected devices
const devices = await vodafoneStation.getConnectedDevices();
// logout to terminate the session
await vodafoneStation.logout();
console.log(devices);