Inspired by gh-got.
$ npm install --save vk-got
const vkGot = ;;
vkGot(method, [options]) →
One of many VK API methods.
Basically same as got, except
VK access token.
Can be overridden globally with the
VK_ACCESS_TOKEN environment variable.
Data to send with request. All keys are decamelized before being sent, so you can write them in
Shorthand method for requesting access token.
vk-got extends got errors with one VK-specific error type.
When you're lucky enough to catch one of VK errors.
MIT © Dimzel Sobolev