An open API service indexing awesome lists of open source software.

https://github.com/levkopo/vvk

Library for using vk.com api in V Language
https://github.com/levkopo/vvk

v vk vk-api vlang vlang-module

Last synced: over 1 year ago
JSON representation

Library for using vk.com api in V Language

Awesome Lists containing this project

README

          

# vVk
Library for using [vk.com](https://vk.com) api in V Language

# Example
```v
import levkopo.vvk

fn main() {
vk := vvk.VK {
token: ''
}

// Get my profile
println(vk.me(map{}))

// Get user by id
println(vk.users_get(1, map{}))

// Request to other method
println(vk.request('groups.getById', map { "group_id": 1 }))
}

struct Group {
id i64
name string
}
```