Socket
Socket
Sign inDemoInstall

easyvk

Package Overview
Dependencies
5
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    easyvk

Functional SDK for support VKontake API (ВКонтакте API) on node.js


Version published
Weekly downloads
56
increased by24.44%
Maintainers
1
Install size
5.86 MB
Created
Weekly downloads
 

Readme

Source

EasyVK logo

EasyVK (VKontakte API Manager)

This app helps you create an apps with vk api easy! You can use it for know more: vk.com/dev/

CommunityChangelogДокументация на русском

Для русскоязычных

Данная библиотека создана для того, чтобы VKontakte API имел удобную поддержу на node.js. С помощью этой библиотеки вы можете делать все, что позволяет официально ВКонтакте API, и не только. Так как я предполагаю, что большинство людей, кто скачивает - владеют русским с рождения, то я написал документацию для этого модуля на этом языке. Если вы хотите помочь в развитии этой библиотеки, вступайте в наше сообщество и предлагайте, что можно улучшить и добавить. Если вы хотите помочь нам кодом - делайте это на github. Ниже написано, что можно делать при помощи EasyVK.

Usage

You need download Node.js and install it with npm manager. Then you need create your project and install easyvk so.

npm i easyvk --save

Test in browser code (Example usage)

You can test library in the browser of npm runkit. You need copy this code and paste it in the area code, changed your parameters


var easyvk = require("easyvk")

//Authenticate user
easyvk({
   username: 'your_login',
   password: 'your_password',
   save_session: false
}).then(vk => {
  
   //get user id from authenticated session
   const me = vk.session.user_id || 356607530 //Or your account id
   
   //The send message by messages.send API method
   vk.call('messages.send', {
      message: 'Hi',
      user_id: me
   }).then(({vkr}) => {})
   
}).catch(console.error)


EasyVK can help you...

  • Create Bots
  • Manage groups
  • LongPoll listen, Bots LongPoll (groups), User LongPoll
  • Callback API support, create your server and listen group events
  • You can create your stream based on official Streaming API platform, listen events, collect data for create statistic and metrics
  • You can upload your files on the server
  • You can call to official VKontakte API methods
  • You can use my widgets - not official instruments for do evereyday something
  • You can use helpers - utility for create something that you need everyday
  • You can use saver session, use session for cache data
  • Catching errors like Captcha error and others
  • Promises, async / await based library
  • Authentication suport: groups, users, aplications, password / username
  • Informative documentation
  • Regulary updates and support for the newest features
  • Two factor authentication support

You can read documentation of this library here

Keywords

FAQs

Last updated on 23 Jun 2018

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