Skip to main content

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.

Source Distribution

AsyncVk-1.0-alpha.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file AsyncVk-1.0-alpha.tar.gz.

File metadata

File hashes

Hashes for AsyncVk-1.0-alpha.tar.gz
Algorithm Hash digest
SHA256 3e7a31f34a48fb7aa466bf6795c2541401e3422f208d2f1c3b33061777ab6761
MD5 b48c8ce25acba6547937e2e355277754
BLAKE2b-256 df3e389f64303b0090bef5b0338f6beba80061bd2b8a8fc85c4a52c2b814b79b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page