Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

v-vk-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-vk-api

VK API wrapper

  • 1.3
  • PyPI
  • Socket score

Maintainers
1

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.

Python3 Release Documentation Status Build Status Coverage Status

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

Keywords

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc