Skip to main content

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.

Files for vk7, version 0.6
Filename, size File type Python version Upload date Hashes
Filename, size vk7-0.6-py3-none-any.whl (6.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size vk7-0.6.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page