solobot-web-api
Python library for interacting with SoloBot Web API.
README also available in:
Powered by 🥕 Морковный Бот
Installing
solobot-web-api is available on PyPI:
$ python -m pip install solobot-web-api
Officially supports Python 3.9+ and requires aiohttp.
API Version and Reference
Base api url: https://pocomacho.ru/solonetbot/api/v1/modules
API reference and official docs: https://pocomacho.ru/solonetbot/api/swagger
Usage Examples
You can find a raw scheme example in the docs: https://pocomacho.ru/solonetbot/api/openapi.json
Grant a license to a user:
import asyncio
from solowebapi import SoloWebAPI
async def main():
api = SoloWebAPI("username", "password")
active = await api.grant_license("example_module", 123)
print("License active:", active)
await api.close()
asyncio.run(main())
Check if a license is active:
import asyncio
from solowebapi import SoloWebAPI
async def main():
api = SoloWebAPI("username", "password")
is_active = await api.check_license("example_module", 123)
print("License active:", is_active)
await api.close()
asyncio.run(main())
Revoke a license:
import asyncio
from solowebapi import SoloWebAPI
async def main():
api = SoloWebAPI("username", "password")
revoked = await api.revoke_license("example_module", 123)
print("License revoked:", revoked)
await api.close()
asyncio.run(main())
This project is licensed under the MIT License.
Metadata
Release files for solobot-web-api 1.0.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 |
|---|---|---|---|---|
| solobot_web_api-1.0.1.tar.gz | 5.2 kB | With provenance | Details for solobot_web_api-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| solobot_web_api-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for solobot_web_api-1.0.1-py3-none-any.whl |
Total release size: 10.8 kB
Release files / solobot_web_api-1.0.1.tar.gz
| Download URL | solobot_web_api-1.0.1.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63969ee1fcbec2696c37940974fa90399edb75e0d975c4858a5a00cd084eddd0
|
|
BLAKE2b-256 checksum How to use checksums |
d63cc1aa35ee08d3d223cbd8557441b1ba5910c4457e651285460a143d797de2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2025.
Transparency logRelease files / solobot_web_api-1.0.1-py3-none-any.whl
| Download URL | solobot_web_api-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d75f5f02eb9b0de836d4fb56cf0e0319813b8f6bb46a208013f165f39cbdf6d
|
|
BLAKE2b-256 checksum How to use checksums |
7d4502b8897b88dd712c2bc0fe3fc8158a31457a4e700ab96bc4a273ea9a2e17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2025.
Transparency logSecurity for solobot-web-api 1.0.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for solobot_web_api-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2025.
Transparency logA 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.