Skip to content

Node package for communicating and configuring talktalk super routers

Notifications You must be signed in to change notification settings

tylerkf/node-talktalk-super

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-talktalk-super

NPM

Designed for making API calls to TalkTalk Super Routers.

Installation

npm install talktalk-super

Usage

Import the SuperRouter class and create an instance:

const { SuperRouter } = require('talktalk-super');

const router = new SuperRouter('http://192.168.1.1', 'admin', 'password')

Then login and use the request function to make calls

router.login((err, res) => {
  if (err)
    return;

  router.request('/api/system/HostInfo', (err, res, html) => {
    if (err)
      return;

    print(html);
  });
});

About

Node package for communicating and configuring talktalk super routers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published