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 details)
Built Distribution
File details
Details for the file aiovkcom-0.1.0.post1.tar.gz
.
File metadata
- Download URL: aiovkcom-0.1.0.post1.tar.gz
- Upload date:
- Size: 6.2 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 | 404a4dea9448c10d13b8fa1df9e695d1ba328ddacb5fd3b46aed9e0aea5ef636 |
|
MD5 | b06dfbb6823e7c0ca5a4048585aa8c1a |
|
BLAKE2b-256 | c353a0d00e3901a1e5f8554044ec9c360de621a9ee31c27c32d581f98161a2c3 |
File details
Details for the file aiovkcom-0.1.0.post1-py3-none-any.whl
.
File metadata
- Download URL: aiovkcom-0.1.0.post1-py3-none-any.whl
- Upload date:
- Size: 8.2 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 | 405c8f9670e3f560bad41f39d0c1537a9de5c168bb2611410097a63d74a1b3d1 |
|
MD5 | d8aaf56a34762f4f606d40a9b3c10ed7 |
|
BLAKE2b-256 | 3a11ad20c69522dc1e043fa83a9afcaef2a952d70c7be3e1f8342d0814f31c2a |