Skip to content

konstantintogoi/aiovkcom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

https://readthedocs.org/projects/aiovkcom/badge/?version=latest

aiovkcom

aiovkcom is a python vk.com API wrapper. The main features are:

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.