API-DEVUP is a powerful Node.js librarys is intended for interaction with the service DEV-UP.RU 🚀
Features
- Works with large collections of data
- Easy authorization form
Installation
Node.js 12.0.0 or newer is required
NPM
npm i api-devup --save
Usage example
- Get a list of managed user groups
const API = require("api-devup");
let api = new API({ key: process.env.KEY });
getGroups({
user_id: process.env.USER_ID,
});
async function getGroups(params) {
console.log(await api.getGroups(params));
}
- To obtain a list of paid stickers to users
const API = require("api-devup");
let api = new API({ key: process.env.KEY });
getStickers({
user_id: process.env.USER_ID,
});
async function getStickers(params) {
console.log(await api.getStickers(params));
}