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

vk-universal-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vk-universal-api

vk-universal-api

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

vk-universal-api

Wrapper for vk.com api to interact both from node and browsers (via bundlers like browserify or webpack)

Install

$ npm install vk-universal-api --save

Usage

import api from 'vk-universal-api';
api.setToken('<string>');

api
  .get('audio.search', { q: 'noisia' })
  .then(([count, ...audios]) => {});

Api

api.get('<method-name>', params) // any method from https://vk.com/dev/methods
api.uploadAlbumImage('<album-id>', '<image-path>') // only from node due to post upload

Tips

Changelog

  • v0.2.0 - add custom uploadAlbumImage method
  • v0.1.0 - breaking changes due to universal-api refactoring

License

MIT © ewnd9

Keywords

FAQs

Package last updated on 01 Feb 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc