Socket
Book a DemoInstallSign in
Socket

pyvka

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyvka

Python package for authorize and getaccess_token for vkontakte api.

pipPyPI
Version
0.1
Maintainers
1

pyvka

Python package for authorize and get access_token for vkontakte api <http://vk.com/developers.php>_.

Installation

You can install from PyPI::

$ pip install pyvka==0.1

Example Of Usage

You should be create standalone-application <http://vk.com/editapp?act=create>_, 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(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 <https://crate.io/packages/vkontakte/>_

Changes

0.1 (2012-09-21)

Initial release.

Keywords

vkontakte vk api access_token oauth oauth2

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts