Framework for extract data from vk.com (russian social network).
Project description
This is a framework for extract data from vk.com (russian social network). The goal is to give helpful interface for work with api and extracting data.
Quickstart
Install
pip install vk7
Usage
>>> from vk7 import Vk
>>>
>>> vk = VK('username', 'password', 'client_id')
>>> vk.users.get(user_ids='1,2')
{'response': [{'id': 1, 'first_name': 'Павел', 'last_name': 'Дуров'}, {'id': 2, 'first_name': 'Александра', 'last_name': 'Владимирова'}]}
>>>
>>> items = vk.groups.getMembers(group_id=1, fields='bdate,sex')
>>> item = next(items)
>>> item
{'id': 5, 'first_name': 'Илья', 'last_name': 'Перекопский', 'sex': 2, 'bdate': '18.11'}
See https://vk.com/dev/methods for detailed API guide.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vk7-0.6.tar.gz
(4.5 kB
view hashes)
Built Distribution
vk7-0.6-py3-none-any.whl
(6.3 kB
view hashes)