Skip to content
/ vkgs Public

A small wrapper before UrlFetchApp to call the VK API

License

Notifications You must be signed in to change notification settings

gasru/vkgs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published