easyvkapi

Creator: coderz1093

Last updated:

0 purchases

easyvkapi Image
easyvkapi Images

Languages

Categories

Add to Cart

Description:

easyvkapi

EasyVKApi #
EasyVKApi - простая и легковесная библиотека для работы с VK API
Ccылки #
Примеры
Документация VK API
Установка #
pub.dev
Примеры #
VK Api #
import "package:easyvkapi/easyvkapi.dart";

void main() async {
String token = "";
VKApi vkApi = VKApi(token: token);

Map user = await vkApi.method("users.get", {"user_ids": 1});
print(user);
}

copied to clipboard
Longpoll #
import 'package:easyvkapi/easyvkapi.dart';

void main() async {
print("Стартуем!");
String token = "";
int groupId = 0;

VKApi vkApi = VKApi(token: token);
VKGroupLongpoll vkGroupLongpoll =
VKGroupLongpoll(vkApi: vkApi, groupId: groupId);

vkGroupLongpoll.startPolling();
vkGroupLongpoll.polling().listen((event) async {
print(event);
});
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.