Crates.io | vkapi2 |
lib.rs | vkapi2 |
version | 0.4.3 |
source | src |
created_at | 2023-09-17 19:07:15.820646 |
updated_at | 2024-08-20 10:37:57.506185 |
description | vk api wrapper for rust |
homepage | |
repository | https://github.com/Teyllayka/VkApi2 |
max_upload_size | |
id | 975285 |
size | 158,968 |
let api = VkApi::new(Some("service_key"), Some("group_key"), Some("flow_key"), Some("version, default is 5.131"))
let response = vkapi2::account::methods::get_info(
&api,
Some(GetInfoOptions {
lang: true,
country: true,
..Default::default()
}),
)
//or
let v = vkapi2::account::methods::get_info(&api, None).await?;
println!("{:?}", v.country);
Account
Ads
AppWidgets
Apps
Asr
Auth
Board
Bugtracker
Calls
Database
Docs
Donut
DownloadedGames
Fave
Friends
Gifts
Groups
LeadForms
Likes
Market
Messages
Status
Users
Podcasts
Notes
Photos
Utils
utils.checkLink
utils.deleteFromLastShortened
utils.getLastShortenedLinks
utils.getServerTime
utils.getShortLink
utils.getLinkStats
getStatisticsUrl - not a vkapi method, used for get shortened url statistics url
utils.resolveScreenName
Wall
Orders
Streaming
Stories
Video