PYthon VKontakte api Auth wrapper
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.
pyvka
.gitignore
CHANGES.rst
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

pyvka

Python package for authorize and get access_token for vkontakte api.

Installation

You can install from PyPI:

$ pip install pyvka==0.1

Example Of Usage

You should be create standalone-application, and copy this app ID.

Now, you can use it:

>>> from pyvka import VKAuth
>>> login = 'your@email.or.phone.number.here'
>>> pwd = 'b19b00b5'
>>> app_id = 123456789
>>> scopes = ['wall', 'friends']
>>> vk = VKAuth()
>>> vk.auth(login, pwd, app_id, scopes)
>>> access_token = vk.access_token
>>> user_id = vk.user_id

After receiving access_token you can be using vkontakte package

Bitdeli badge