MindLogger Node Client
npm i mindlogger-node
- Fork / clone
- Run
npm install
- Create
config.test.json
similar toconfig.test.sample.json
:
{
"username": "____________",
"password": "____________",
"applets": [
{
"appletId": "____________",
"appletPassword": "____________"
}
]
}
- Run
npm test
Commands:
cli.js authentication Get authentication results
cli.js applet-info Get applet info
cli.js applet-data Get applet data
Options:
--version Show version number [boolean]
-u, --username User name [string] [required]
-p, --password Password [string] [required]
-o, --outFile Optional output file [string]
--help Show help [boolean]
import { Client } from "mindlgoger-node";
const client = await Client.createClient("<username>", "<password>");
const appletInfo = await client.getAppletInfo("<appletId>");
const appletData = await client.getAppletData("<appletId>");
const responses = decryptAppletResponses(
appletInfo,
appletData,
"<appletPassword>"
);
See the generated docs.