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
- Host: GitHub
- URL: https://github.com/levkopo/vvk
- Owner: levkopo
- License: mit
- Created: 2021-07-30T15:57:09.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-30T17:49:24.000Z (almost 5 years ago)
- Last Synced: 2025-01-08T13:55:32.892Z (over 1 year ago)
- Topics: v, vk, vk-api, vlang, vlang-module
- Language: V
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
}
```