vk.com (aka vkontakte.ru) API wrapper. This release is broken! Do not use it. Use 0.9.3.
Project description
This is a vk.com (aka vkontakte.ru, largest Russian social network) python API wrapper. The goal is to support all API methods (current and future) that can be accessed from server.
Installation
$ pip install vkontakte
Usage
>>> import vkontakte >>> vk = vkontakte.API('my_api_id', 'my_api_secret') >>> print vk.getServerTime() 1282689362 >>> profiles = vk.getProfiles(uids='1,2', fields='education') >>> pavel = profiles[0] >>> print pavel['last_name'], pavel['university_name'] Дуров СПбГУ >>> # custom timeout example (default timeout = 1s) >>> vk = vkontakte.API('my_api_id', 'my_api_secret', timeout=5) >>> print vk.getAppBalance() 0
All API methods should be supported.
See http://bit.ly/9Nzc8h for detailed API help.
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
vkontakte-0.9.2.tar.gz
(3.4 kB
view hashes)