vk-api-scopes
v1.0.2
Published
Hash of VK API access permission codes
Downloads
5
Maintainers
Readme
vk-api-scopes
Hash of VK API (v5.37) access permission codes
Install
$ npm install --save vk-api-scopes
Usage
The module is just an instance of JavaScript Object
, you can use it like this for example:
var vkApiScopes = require('vk-api-scopes');
var mask = vkApiScopes.audio + vkApiScopes.video + vkApiScopes.photos;
console.log('The bit mask is ' + mask + '!');
Related
- vk-api-all-methods — List of all VK API methods
- vk-api-open-methods — List of VK API methods that don't require authentication
- vk-api-scoped-methods — Hash of VK API methods that require correct scope and scopes they require
License
MIT © Dmitriy Sobolev