Python 3.x VKontakte UserAPI client
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
insvkontakte
LICENSE
README
changelog.txt
setup.py

README

VKontakte UserAPI client library for Python 3.x

Somebugs Software Lab (http://somebugs.com)
© 2009 Alexander Chichenin 

Contacts:

sovnarkom@somebugs.com,
http://twitter.com/sovnarkom

———————————————————————————————————————————————————————————————————————————————

How to use it:

————————————————————————————————————————————————————

from insvkontakte import InsVKontakteError
from insvkontakte.formatters.json import JSON    # or another formatter
from insvkontakte.userapi.client import ClientAPI # or another API

api = ClientAPI(JSON)

#sid = self.api.get_sid_using_email_and_password('<login>', '<password>') # + exception handling
#or
self.api.set_sid('<developer-sid|user-sid>')

try:
	friends = api.friends() # or anything
except InsVKontakteError as e:
	...