This is a node-js wrapper with access to all of the Yunite API endpoints.
Docs for official api: https://yunite.xyz/docs/developers/readme
npm install yunite
const { YuniteApi } = require('yunite');
const apiToken = 'Your-Api-Token';
const client = new YuniteApi(apiToken);
// Gets linked users(s) from the specified guild
client.getUserLinks('guildId', {
type: "DISCORD",
userIds: [
"12345678912345873",
"23456567898765456"
]
}).then(response => {
// log response
console.log(response);
}).catch(err => {
// log error
console.log(err);
})