Python vk.com API wrapper
Project description
aiovkcom
aiovkcom is a python vk.com API wrapper. The main features are:
authorization (Authorization Code, Implicit Flow)
REST API methods
Usage
To use vk.com API you need a registered app and vk.com account. For more details, see aiovkcom Documentation.
from aiovkcom import TokenSession, API
session = TokenSession(access_token, v='5.101')
api = API(session)
events = await api.wall.get()
friends = await api.friends.get()
Pass access_token
that was received after authorization.
For more details, see
aiovkcom Documentation.
Installation
$ pip install aiovkcom
or
$ python setup.py install
Supported Python Versions
Python 3.5, 3.6, 3.7 and 3.8 are supported.
Test
Run all tests.
$ python setup.py test
Run tests with PyTest.
$ python -m pytest [-k TEST_NAME]
License
aiovkcom is released under the BSD 2-Clause License.
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
aiovkcom-0.1.0.post1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for aiovkcom-0.1.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405c8f9670e3f560bad41f39d0c1537a9de5c168bb2611410097a63d74a1b3d1 |
|
MD5 | d8aaf56a34762f4f606d40a9b3c10ed7 |
|
BLAKE2b-256 | 3a11ad20c69522dc1e043fa83a9afcaef2a952d70c7be3e1f8342d0814f31c2a |