8000 GitHub - gasru/vkgs: A small wrapper before UrlFetchApp to call the VK API · GitHub
[go: up one dir, main page]

Skip to content
gasruPublic

About

A small wrapper before UrlFetchApp to call the VK API

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

VKGS

This is an API of VK for Google Apps Script

Usage

As a library

Enter the project key 1K3zWwRp-8Pbne2ytgV8PUByfYHk-W4Yzz3PfPIltwpHVfE9eADwxLpUo in the "Find a Library"

Init an instance

const vk = vkgs.getInstance();

As a module

There is no a finally compiled module yet. Try index.js.

Samples

/**
 * Prints to console messages from a specific wall
 */
function getWallPosts() {
  const vk = new VK();
  vk.serviceKey = 'ABC123';
  console.log(
    vk
      .call('wall.get', {
        owner_id: -41978868,
      })
      .getContentText()
  );
}

About

A small wrapper before UrlFetchApp to call the VK API

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0