Python API wrapper around vk.com API
Project description
![N|Solid](https://img.shields.io/pypi/l/py-vkontakte.svg) ![N|Solid](https://img.shields.io/pypi/wheel/py-vkontakte.svg) ![N|Solid](https://img.shields.io/pypi/pyversions/py-vkontakte.svg)
# Install
`sh pip install py-vkontakte `
# User
`python >>> import vk >>> api = vk.Api() >>> api.get_user('durov') # return single User object <User: durov> >>> user_items = api.get_users([1, 's.gaynetdinov']) # yield one or many User objects >>> [user.id for user in user_items] [1, 23768217] `
# Group
`python >>> import vk >>> api = vk.Api() >>> groups_items = api.get_groups([1, 'devclub']) # return generator >>> [group for group in groups_items] [<Group apiclub>, <Group devclub>] `
# Update PyPi
`sh python3 setup.py sdist python3 setup.py bdist_wheel --universal twine upload dist/* `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for py_vkontakte-5.53.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 919a002db1ac344aae9ec62e5a825b6ca07a1d4d50cd135edc63ecf0c0c4962e |
|
MD5 | cc1ca68c82fc38004e73efe3bbbf62e1 |
|
BLAKE2b-256 | 9f4bb6a9794e22f95ab04e76038856870b05663589332082308d42c86d66b8a9 |