Skip to main content

A-Parser management module via API for NodeJS

Compatibility

The module is compatible with NodeJS version >=10.x

Installation

npm install a-parser-client

Usage

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(...);
})()

Methods

The module implements all methods available for use in the A-Parser API. You can find their list here