# node2fritz

> Node Module to communicate with a AVM FritzBox

Latest version **0.0.8** (published 2013-12-13) · 0 weekly downloads

## Install

```sh
npm install node2fritz
pnpm add node2fritz
yarn add node2fritz
bun add node2fritz
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2013-12-13 |
| First published | 2013-12-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rasix.net |
| Maintainers | rasix |

## Links

- npm: https://www.npmjs.com/package/node2fritz
- Repository: https://github.com/Rasix/Node2Fritz
- Issues: https://github.com/Rasix/Node2Fritz/issues
- npm.io page: https://npm.io/package/node2fritz

## Recent versions

- 0.0.8 (latest) — 2013-12-13
- 0.0.7 — 2013-12-13
- 0.0.6 — 2013-12-13
- 0.0.5 — 2013-12-13
- 0.0.4 — 2013-12-13
- 0.0.3 — 2013-12-12
- 0.0.2 — 2013-12-12
- 0.0.1 — 2013-12-12

## README

# node2fritz

Node module to communicate with a AVM FritzBox providing the following functions:

- Get the session ID (getSessionID)
- Get the phone list (getPhoneList)
- Set the guest wlan (setGuestWLan)
- Get the guest wlan settings (getGuestWLan)


## Install

```bash
npm install node2fritz
```

## How to use

Get the session ID:
```js
var fritz = require('node2fritz');

fritz.getSessionID("user", "password", function(sid){
    console.log(sid);
});
```

Get the phone list:
```js
var fritz = require('node2fritz');

fritz.getPhoneList(sid,function(calls){
    console.log(calls);
});

```

Enable or disable guest wlan:
```js
var fritz = require('node2fritz');

fritz.setGuestWLan(sid, true, function(enabled){
    console.log("Guest WLan Enabled: "+enabled);
});
```

Get guest wlan settings:
```js
var fritz = require('node2fritz');

fritz.getGuestWLan(sid, function(settings){
    console.log(settings);
});
```

---
_Source: https://npm.io/package/node2fritz · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
