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
const API = require("api-devup");
const api = new API({
key: process.env.KEY,
});
async function run() {
const response = await api.getGroups({
user_id: 1,
});
console.log(response);
}
run().catch(console.log);
Library functions
Method | Parameters | Description |
---|
getStickers | user_id: Number | Retrieves a list of the user's stickers |
getStickerInfo | sticker_id: Number | Gets information about the sticker and the pack |
getGroups | user_id: Number | Retrieves the list of user groups |
getApps | user_id: Number | Retrieves the list of the user's applications |
getProfile | | Retrieves profile information |
audioSpeech | url: String | Convert audio to text |
createShortLink | url: String | Link Shortening |
getWebInfo | address: String | Checking information by IP or WEB address |
buyPremium | | Purchase of a PREMIUM rate |
buyLimit | amount: Number | Increasing the API limit |