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.post2.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file aiovkcom-0.1.0.post2.tar.gz
.
File metadata
- Download URL: aiovkcom-0.1.0.post2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ad51d712102f8f66a5c8d6a385fe2d5b20031e3028ad9f667222d185a36dc7 |
|
MD5 | 20331438bdba62bde68b40c689270734 |
|
BLAKE2b-256 | 2f8b4017eadf407dbe3ca608106c3b719ca2d1bb98dd1def8f7c3fcae0dfda1d |
File details
Details for the file aiovkcom-0.1.0.post2-py3-none-any.whl
.
File metadata
- Download URL: aiovkcom-0.1.0.post2-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489ffb0a3b1b69250fac8f3c132a76f9f23bdb7fdaed22977aac505e752bbd3e |
|
MD5 | a3fe0f01eaec9288cc0d5a37b0ab40fd |
|
BLAKE2b-256 | c697173f30722f4cb3f4e182c78925b55619a42704aa44b0ca20cc2287daa60e |