Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 476 Bytes

File metadata and controls

32 lines (22 loc) · 476 Bytes

namedc.js

A wrapper for namedc.org

Methods:

const HistoryApi = require('namedc.js');

const api = new HistoryApi('your-api-token');

const userId = "";

api.search(userId).then(data => {
    console.log(data);
}).catch(err => {
    console.error(err);
});
const HistoryApi = require('namedc.js');

const api = new HistoryApi('your-api-token');

api.getAccountInfo().then(data => {
    console.log(data);
}).catch(err => {
    console.error(err);
});