vk.com Python REST API wrapper
Project description
aiovkcom
aiovkcom is a vk.com python API wrapper. The main features are:
authorization (Authorization Code, Implicit Flow)
REST API methods
Usage
To use REST 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.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file aiovkcom-0.1.0.tar.gz
.
File metadata
- Download URL: aiovkcom-0.1.0.tar.gz
- Upload date:
- Size: 6.1 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 | 341e51247c352611f7b55a10c922016dd551753a0e1949aa03238be2b5e2de30 |
|
MD5 | f0dbdb1b63cca5f223eabf42ab343ff0 |
|
BLAKE2b-256 | aad8d7eaecf8832b50208fb240fd9f6b5310b839d4be3bfac4cda960700e48bd |
File details
Details for the file aiovkcom-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: aiovkcom-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 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 | 354f683eaa57bf0e53819ea250598d9378bfc59f647c1814971cf1f16dcb0130 |
|
MD5 | 399f7229e719bb429d3deaf1273e0de3 |
|
BLAKE2b-256 | 4aeefebc69a4c5136d49d41797de29a11b8351d176e7125e40e832b2a8163dbb |