VK API wrapper
Project description
# VVK API
VK API wrapper
## Description
With VK API wrapper you can use all possible VK API methods and pass all traffic through proxy.
More detailed information about VK API you can see in the official [documentation](https://vk.com/dev/methods).
![Python3](https://img.shields.io/badge/Python-3-brightgreen.svg)
[![Release](https://img.shields.io/github/release/vadimk2016/v-vk-api.svg)](https://github.com/vadimk2016/v-vk-api/releases)
[![Documentation Status](https://readthedocs.org/projects/v-vk-api/badge/?version=latest)](http://v-vk-api.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.org/vadimk2016/v-vk-api.svg?branch=master)](https://travis-ci.org/vadimk2016/v-vk-api)
[![Coverage Status](https://coveralls.io/repos/github/vadimk2016/v-vk-api/badge.svg)](https://coveralls.io/github/vadimk2016/v-vk-api)
### Install
```
$ pip3 install v_vk_api
```
## Usage
#### Authorization by access token
import v_vk_api
api = v_vk_api.create(app_id=1234567890,
login='login',
password='pass')
api.request_method('users.get', users_id=1)
{'response': [{'first_name': 'John', 'id': 123, 'last_name': 'Doe'}]}
#### Authorization by service token
import v_vk_api
api = v_vk_api.create(service_token='service token')
api.request_method('users.get', users_id=1)
{'response': [{'first_name': 'Pavel', 'id': 1, 'last_name': 'Durov'}]}
## Tests
Tests will check API connection and method requesting and some other helper functions like utils and exceptions,
to run tests:
```
$ python -m unittest discover tests
```
**NOTE:** Tests can't handle CAPTCHA
VK API wrapper
## Description
With VK API wrapper you can use all possible VK API methods and pass all traffic through proxy.
More detailed information about VK API you can see in the official [documentation](https://vk.com/dev/methods).
![Python3](https://img.shields.io/badge/Python-3-brightgreen.svg)
[![Release](https://img.shields.io/github/release/vadimk2016/v-vk-api.svg)](https://github.com/vadimk2016/v-vk-api/releases)
[![Documentation Status](https://readthedocs.org/projects/v-vk-api/badge/?version=latest)](http://v-vk-api.readthedocs.io/en/latest/?badge=latest)
[![Build Status](https://travis-ci.org/vadimk2016/v-vk-api.svg?branch=master)](https://travis-ci.org/vadimk2016/v-vk-api)
[![Coverage Status](https://coveralls.io/repos/github/vadimk2016/v-vk-api/badge.svg)](https://coveralls.io/github/vadimk2016/v-vk-api)
### Install
```
$ pip3 install v_vk_api
```
## Usage
#### Authorization by access token
import v_vk_api
api = v_vk_api.create(app_id=1234567890,
login='login',
password='pass')
api.request_method('users.get', users_id=1)
{'response': [{'first_name': 'John', 'id': 123, 'last_name': 'Doe'}]}
#### Authorization by service token
import v_vk_api
api = v_vk_api.create(service_token='service token')
api.request_method('users.get', users_id=1)
{'response': [{'first_name': 'Pavel', 'id': 1, 'last_name': 'Durov'}]}
## Tests
Tests will check API connection and method requesting and some other helper functions like utils and exceptions,
to run tests:
```
$ python -m unittest discover tests
```
**NOTE:** Tests can't handle CAPTCHA
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file v_vk_api-1.3-py3-none-any.whl
.
File metadata
- Download URL: v_vk_api-1.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93911c43bc2d2895cd8fa5b3849083ada1bbe476d114fd210456b177ade8c70a |
|
MD5 | 33e02244732e828680bd720e743538a9 |
|
BLAKE2b-256 | bb81118fa0066826ab367ceb346b50bfe2dc517a51c7ac34a1eb2099fd044993 |