skip to navigation
skip to content

vk 1.5 API Python wrapper

Latest Version: 2.0.2

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


pip install vk

Get access

import vk

# Use app id, user email/phone and password for access to API
vkapi = vk.API('my_app_id', 'user_login', 'user_password')
# or ready access token
vkapi = vk.API(access_token='access_token')

Make requests

>>> vkapi.getServerTime()
>>> profiles = vkapi.users.get(user_id=1)
>>> profiles[0]['last_name']
>>> # alternative syntax
>>> profiles = vkapi('users.get', user_id=1)
>>> profiles[0]['last_name']

All API methods that can be called from server should be supported.

See for detailed API help.

File Type Py Version Uploaded on Size
vk-1.5.tar.gz (md5) Source 2014-04-29 4KB
  • Downloads (All Versions):
  • 33 downloads in the last day
  • 434 downloads in the last week
  • 2490 downloads in the last month