Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

vk.com API async Python wrapper. Only Python 3.4+

Project description

=========================
vk.com API async Python wrapper
=========================

AsyncVk project is a fork of pretty library 'vk' (https://github.com/dimka665/vk) by Dmitry Voronin (https://github.com/dimka665)

This is a vk.com (the largest Russian social network) async python API wrapper.
The goal is to support all API methods (current and future)
that can be accessed from server.

Quickstart
==========

Install
-------

.. code:: bash

pip install AsyncVk

Usage
-----

.. code:: python

>>> import asyncio
>>> import AsyncVk
>>>
>>> @asyncio.coroutine
>>> def some_method():
>>> vkapi = AsyncVk.API()
>>> # vkapi = AsyncVk.API(user_login='user@gmail.com', user_password='******', app_id='123456')
>>> # vkapi = AsyncVk.API(access_token='********************')
>>> time = yield from vkapi.getServerTime()
>>> print(time)
>>>
>>> loop = asyncio.get_event_loop()
>>> loop.run_until_complete(some_method())
>>> loop.close()


See https://vk.com/dev/methods for detailed API guide.

More info
=========

`Read full documentation <http://asyncvk.readthedocs.org>`_

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for AsyncVk, version 1.0-alpha
Filename, size File type Python version Upload date Hashes
Filename, size AsyncVk-1.0-alpha.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page