Socket
Socket
Sign inDemoInstall

vk-api

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vk-api

VK API wrapper for NodeJS


Version published
Weekly downloads
7
increased by75%
Maintainers
1
Install size
12.1 kB
Created
Weekly downloads
 

Readme

Source

vk-api Build Status

VK API wrapper for NodeJS

Feel free to use it. If you have any wishes, you can post it there on GitHub

Getting Started

Install the module with: npm install vk-api

var vk_api = require('vk-api');
var VK = new vk_api({appID: APPID, appSecret: APPSECRET}, REDIRECT_URL);
VK.api('users.get', {id: 1234, lang: 'en'}, function(err,result) {
    //Some processing
});

=======

Or if you want to take User id

var vk_api = require('vk-api');
var VK = new vk_api({appID: APPID, appSecret: APPSECRET}, REDIRECT_URL);
VK.init(function(err) {
    VK.api('users.get', {id: VK.userId, lang: 'en'}, function(err,result) {
        //Some processing
    });
});

Documentation

(Coming soon)

Examples

See examples directory

Release History

0.1.0 - 10/30/2013

License

Copyright (c) 2013 Andromant
Licensed under the MIT license.

Keywords

FAQs

Last updated on 30 Oct 2013

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