Zum Hauptinhalt springen

A-Parser API-Verwaltungsmodul für NodeJS

Kompatibilität

Das Modul ist kompatibel mit NodeJS Version >=10.x

Installation

npm install a-parser-client

Verwendung

const AParserClient = require('a-parser-client');

const AParser = new AParserClient('http://127.0.0.1:9091/API', 'password');

AParser.ping()
.then(reply => console.log(reply.data))
.catch(err => console.log(err));


(async () => {
const reply = await AParser.addTask(...);
})()

Methoden

Im Modul sind alle Methoden implementiert, die in der A-Parser API zur Verfügung stehen. Eine Liste dieser Methoden finden Sie hier