Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

api-devup

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-devup - npm Package Compare versions

Comparing version 1.0.5 to 1.1.0

2

package.json
{
"name": "api-devup",
"version": "1.0.5",
"version": "1.1.0",
"description": "This library is intended for interaction with the service dev-up.ru",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,29 +28,17 @@ <p align="center">

- Get a list of managed user groups
```js
const API = require("api-devup");
let api = new API({ key: process.env.KEY }); // Ключ можно получить в личнои кабинете на сайте https://dev-up.ru
getGroups({
user_id: process.env.USER_ID,
const api = new API({
key: process.env.KEY,
});
async function getGroups(params) {
console.log(await api.getGroups(params));
async function run() {
const response = await api.getGroups({
user_id: 1,
});
console.log(response);
}
```
- To obtain a list of paid stickers to users
```js
const API = require("api-devup");
let api = new API({ key: process.env.KEY }); // Ключ можно получить в личнои кабинете на сайте https://dev-up.ru
getStickers({
user_id: process.env.USER_ID,
});
async function getStickers(params) {
console.log(await api.getStickers(params));
}
run().catch(console.log);
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc