Skip to content

namebeta/node-dan-api

Repository files navigation

node-dan-api

This is a Node.js library for Dan api.

Installation

npm install dan-api

Usage

const DanApi = require('dan-api');

const api = new DanApi({
    token: 'YOUR_TOKEN',
    timeout: 10000,
    sandbox: false,
});

(async () => {
    console.log(await api.dp.search('dan'));
})();