VK-IO - This is a powerful Node.js module that allows you to easily interact with the VK API ๐
๐ Documentation | ๐ค Examples |
---|
- 100% coverage of the VKontakte API
- Predictable abstraction
- Works with large collections of data
- Support for all types of authorization, including via login and password
- Typings
You can read the migration guide here.
Old version of the library is located here.
Node.js 8.0.0 or newer is required
Recommended, auto assembly
yarn add vk-io
npm i vk-io
import VK from 'vk-io';
const vk = new VK();
vk.token = process.env.TOKEN;
async function run() {
const response = await vk.api.wall.get({
owner_id: 1
});
console.log(response);
}
run().catch(console.log);