Skip to main content

Python package for authorize and getaccess_token for vkontakte api.

Project description

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(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

Changes

0.1 (2012-09-21)

Initial release.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyvka, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyvka-0.1.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page