Socket
Socket
Sign inDemoInstall

public-vk-api

Package Overview
Dependencies
2
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    public-vk-api

VK.com Public Api - unofficial implementation for Public Radio project. Provides simple, fast and safe way to call VK methods


Version published
Weekly downloads
1
Maintainers
1
Install size
16.9 MB
Created
Weekly downloads
 

Readme

Source

VK.com Public API

non-official implementation of VK.com OAuth 2 and API call engine with performance optimisations

Usage

import {VK} from 'public-vk-api'

const application_id = 123456
const permissions = 6
const vk = new VK(application_id)
vk.call('wall.get', {owner_id: 1}).then(console.log.bind(console))

document.querySelector('#auth').onClick(() => vk.login(permissions))
vk.logout()

And... that's all

Keywords

FAQs

Last updated on 05 Nov 2015

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