VkStatusPy - простой способ для работы со статусом в ВК!
VkStatusPy позволяет легче взаимодействовать со статусами во ВКонтакте! VkStatusPy работает быстро и хорошо в своём деле!
Инструкция:
Установка модуля VkStatusPy с pypi.org:
pip3 install VkStatusPy
Использование модуля:
Импортирование модуля VkStatusPy:
from VkStatusPy import *
Подключение вашего API-токена:
test = VkStatusPy(token="ВАШ_ТОКЕН")
Доступные методы:
test.set_status(text)
test.set_status_group(text, group_id)
test.get_status(user_id)
test.get_status_group(group_id)
# text - строка; user_id - положительное число; group_id - положительно число.
Получение статуса:
test.get_status(user_id=ID_ПОЛЬЗОВАТЕЛЯ)
>> Текст статуса
test.get_status_group(group_id=ID_ГРУППЫ)
>> Текст статуса группы
Обновление статуса (установка своего значения):
# В случае успеха смены статуса, будет возвращаться значение - 1.
test.set_status(text="ВАШ_ТЕКСТ")
>> 1
test.set_status_group(text="ВАШ_ТЕКСТ", group_id=ID_ГРУППЫ)
>> 1
Возможные ошибки:
Error [15] - доступ отклонен. Нету доступа к данной группе.
Error [100] - неверное ID группы/полозователя.
Error [221] - пользователя отключил трансляцию название музыки в статус.
Metadata
Release files for VkStatusPy 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| VkStatusPy-1.1.tar.gz | 2.6 kB | Without provenance | Details for VkStatusPy-1.1.tar.gz |
Release files / VkStatusPy-1.1.tar.gz
| Download URL | VkStatusPy-1.1.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1161b31616fc237d4ac1847e6f9517db0427aee162f290e83c22454f967a72b8
|
|
BLAKE2b-256 checksum How to use checksums |
0014b23ab00110818c14342b62293325543733aed72b8b35e0800c0505430be7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.9
|
Security for VkStatusPy 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.