Socket
Socket
Sign inDemoInstall

flycoin

Package Overview
Dependencies
6
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    flycoin

Api script for vk mini app


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Flycoin

npm package
autor version license rating
Библиотека для взаимодействия с flycoin (вк)

Установка

Этот модуль на Node.js , устанавливается с помощью npm install command

$ npm install flycoin

Использование

const FLYCOIN = require('flycoin');

Параметры

const flycoin = new FLYCOIN({
    "token": "user_token"
});

token - Токен авторизации

Методы

Список методов API

GetTransferHistory - Получаем информацию о переводах
getUserInfo - Получаем информацию о пользователе
sendCoins - Перевод коинов
setUserInfo - Изменить информацию о пользователе

GetTransferHistory

flycoin.api.GetTransferHistory().then(function (result) {
    console.log(result)
    //Ваш код
})

getUserInfo

flycoin.api.getUserInfo().then(function (result) {
    console.log(result)
    //Ваш код
})

sendCoins

flycoin.api.sendCoins(user_id, amount).then(function (result) {
    console.log(result)
    //Ваш код
})

user_id - ID пользователя в вк
amount - Сумма перевода

setUserInfo

flycoin.api.setUserInfo(shop_name, shop_photo).then(function (result) {
    console.log(result)
    //Ваш код
})

shop_name - Название магазина
shop_photo - Ссылка на фото магазина

Ссылки

Наше приложение
Наше группа

Помощь

Если вам что-то не понятно пишите в лс группы

Keywords

FAQs

Last updated on 30 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc