Skip to main content

Library that helps you to authenticate with VK.com using cookies from your browser. The library automatically fetches required cookies from supported browsers, establishes a session, and retrieves an access token

Project description

VKAuth Library

VKAuth is a Python library that helps you to authenticate with VK.com using cookies from your browser. The library automatically fetches required cookies from supported browsers, establishes a session, and retrieves an access token.

Features

  • Automatic fetching of cookies from supported browsers
  • Establishing a session with VK.com
  • Fetching access token for user and group scopes

Installation

Use the package manager pip ↗ to install VKAuth.

pip install vkauth

Usage

from vkauth import VKAuth

auth = VKAuth()

# to get a user token
user_token = auth.get_token()

# to get a group token
group_token = auth.get_token(group_id='your_group_id')

Supported Browsers

  • Google Chrome
  • Yandex Browser
  • Mozilla Firefox
  • Microsoft Edge
  • Opera
  • Opera GX

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT ↗

Disclaimer

This library is intended to be used for educational purposes only. Never use it to exploit or harm someone's privacy without their consent. The maintainers of this library are not responsible for any misuse by the users.

Contact

For any issues or suggestions, please create an issue on the GitHub repository.

Project details


Download files

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

Source Distribution

vkauth-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

vkauth-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file vkauth-1.0.0.tar.gz.

File metadata

  • Download URL: vkauth-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for vkauth-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4621d8121d60fa555c9bef76ff4d327604a66efccd34b425e741fd27f31f9a35
MD5 a950d2427429bb7a3ed02df9ab6073bb
BLAKE2b-256 b7b703ce7e6bbbcc72cd317e1c3ab2fd2b71e90bb8d924ff2f66cd00928ce26d

See more details on using hashes here.

File details

Details for the file vkauth-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vkauth-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for vkauth-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b05e9e6b01db4e39645ca92caf5a95631f051d7f80920ecddb2bf3b0c628dce8
MD5 c93e6cf4b32b507b2c06678cb0c54c5d
BLAKE2b-256 206bd345a2c549b4d52a6701126ce2759e220113b4f9f8adb803efbc8fd65bef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page