nipca

0.2.0 • Public • Published

Network IP Camera Application Programming Interface (NIPCA) - Client

A node.js client to connect to NIPCA, which is a protocol for some Network IP Cameras e.g.: DLINK DCS-8200LH.

Description

  • Tested with node.js 10 and DLINK DCS-8200LH

Install

npm install nipca --save

Usage

This is a code example to show how to use this library.

const Nipca = require("nipca");

const baseUrl = "http://192.168.0.10"; // IP of the camera
const user = "admin"; // User
const password = "753776"; // Pin-Code (backside of the camera)

new Nipca(baseUrl)
  .login(user, password)
  .then(nipcaClient => {
    nipcaClient.fetchInfo().then(res => console.log("fetchInfo:", res));
  })
  .catch(err => console.error("Error", err));

Further Links

Package Sidebar

Install

npm i nipca

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

9.8 kB

Total Files

12

Last publish

Collaborators

  • janloebel