Skip to content

nightf0rc3/vodafone-station

Repository files navigation

Vodafone Station API

npm version

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);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published