Skip to main content

Asynchronous api wrapper for the game from vk.com called 'slaves'

Project description

VKSlaves

Asynchronous api wrapper for the game from vk.com called "slaves"

Example of usage

import asyncio
from vkslaves import Slaves

slaves_api = Slaves(app_auth="vk_access_token_settings=friends,status&vk_app_id=7794757...")


async def main():
    await slaves_api.start()  # update .me and .slaves
    print(slaves_api.me.balance) # get your balance
    user = await slaves_api.user(id=1) # get info about vk.com/id1
    print(user.master_id) # get id of user's master

asyncio.run(main())

I'm too lazy to write documentation, just look at the names of the functions and docstrings

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

VKSlaves-1.0.4.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

VKSlaves-1.0.4-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file VKSlaves-1.0.4.tar.gz.

File metadata

  • Download URL: VKSlaves-1.0.4.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.6

File hashes

Hashes for VKSlaves-1.0.4.tar.gz
Algorithm Hash digest
SHA256 179d457a7673d6c45feb7467b9a0e6e431c34a05e19ea61b3cf804c45fe00a80
MD5 e9258d854524babeea370a6ba7718dd4
BLAKE2b-256 92d3e19b32dc8f272b269c2a5f33327c689f968a273826609316f48bea23e7e8

See more details on using hashes here.

File details

Details for the file VKSlaves-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: VKSlaves-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.6

File hashes

Hashes for VKSlaves-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 784edfb96eab361d3bf67afc97a5c233040fbea6e77e1b5dfd891bb6aea1b431
MD5 3ab23c4e6547c8d2a62fbeb3a3faa2a6
BLAKE2b-256 dd42d718fa0115d79a561361481fbc02118d009952a1553c2becadf2234445ce

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