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

vk-api-lite

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vk-api-lite

Небольшая библиотека для работы с VK API через access_token (wall.post, wall.get, photos.save)

  • 0.0.4
  • PyPI
  • Socket score

Maintainers
1

vk_api_lite

Small library for VK API (via access_token)

from vk_api_lite import VkAPILite

vk_api_l = VkAPILite(TOKEN='vk1.a.OVgI7F9psMHdS4954SQ_6ksmDM0cFsZ6rCGYxbXJyR00A3Hqa76H6VI0anrkYLBTuxVtrXXT7fAK-YzSC78OhT2V_3FoqMQCwFHCi6utgVytIinZWNrxUlwKx_jPF7P0kgGbUq9QViyHvR0TUN35oobk7dBo8-QsiGT1afvS3KkKf0cbbgZ8UeAEiobq3Ctr')

# Get info from wall by id
wall_content = vk_api_l.wallGetById(1)

# Get info from wall by domain
wall_content = vk_api_l.wallGetByDomain('apiclub')

# wall.post
vk_api_l.wallPost(1, message="Hello, World!")

# photos.save
id_list = vk_api_l.photosSave(22822305, 126315661, ['1.png', '2.png'])

Supported methods

wall.get - https://dev.vk.com/method/wall.get

wall.post - https://dev.vk.com/method/wall.post

photos.save - https://dev.vk.com/method/photos.save

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