1.0.0 • Published 5 years ago

pihole v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

PiHole API Client for NodeJS

Available Functions

Supports all Functions defined here.

How to use Auth?

Pass your WEBPASSWORD from /etc/pihole/setupVars.conf as first parameter:

const PiHole = require('pihole');

(async function test() {
    const pihole = new PiHole(process.env.WEBPASSWORD)
    console.log(await pihole.getAllQueries());
})();
1.0.0

5 years ago

0.0.1

5 years ago