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 details)
Built Distribution
vk7-0.6-py3-none-any.whl
(6.3 kB
view details)
File details
Details for the file vk7-0.6.tar.gz
.
File metadata
- Download URL: vk7-0.6.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
330c5c8e9502d0338eefd909bb12b58ef7232566b31d90d6dbad1712c73d8a2c
|
|
MD5 |
f584447625de3331195cbd65fbf2973a
|
|
BLAKE2b-256 |
66699211fa06b2154c78048f771792d10e3d5d2306ad4a9a0559f961a8fd327e
|
File details
Details for the file vk7-0.6-py3-none-any.whl
.
File metadata
- Download URL: vk7-0.6-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3e0386c14453f77f422e94c072f8d652b46e804fe08668b4af505a3b65ed7469
|
|
MD5 |
fe897683967e35533407e2b83fd609cd
|
|
BLAKE2b-256 |
91dc41b91b02c3228b6ce9b67e7f4230369dd675790f07dc719c15d343d6825f
|