Skip to main content

🚀 Installation

Install the package using pip:

pip install LOLZTEAM

Also you can download the package from here and install it manually.

pip install LOLZTEAM-<version>.tar.gz or pip install LOLZTEAM-<version>.whl

💻 Usage

Import the required modules and initialize the API clients:

from LOLZTEAM.Client import Forum, Market, Antipublic
from LOLZTEAM.Client.Base import Constants
import asyncio

token = "your_token"

forum = Forum(token=token)
market = Market(token=token)
antipublic = Antipublic(token="Antipublic_key")

# API Client Parameters

# - **token** (str): Your token.
# - **language** (str["ru", "en"]): Language of the API responses.
# - **delay_min** (float): Minimal delay between requests.
# - **proxy** (str): Proxy string.
#   > protocol://ip:port or protocol://login:password@ip:port (socks5://login:password@192.168.1.1:8080 or http://login:password@192.168.1.1:8080)
# - **timeout** (float): Request timeout.


# All following examples also work for Market & Antipublic clients

forum.settings.logger.enable()                                        # 📝 Start logging
# Forum & Market client will log into {user_id}.{Client_name}.log file
# Antipublic client will log into Antipublic.log file
forum.settings.delay.enable()                                         # 🕒 Enable auto delay (Auto delay is enabled by default for Market & Forum but not for Antipublic)

response = forum.users.get(user_id=2410024)                           # ⚡ Sync request
job = forum.users.get.job(user_id=2410024)                            # 📋 Job creation (Always SYNC)
response = forum.request("GET", "/users/2410024")                     # ⚡ Custom request (You can use full url or just path)
job = forum.request.job("GET", "/users/2410024")                      # 📋 Job creation for custom request

async def async_example():
    response = await forum.users.get(user_id=2410024)                 # ⚡ Async request
    job = forum.users.get.job(user_id=2410024)                        # 📋 Job creation (Always SYNC)
    response = await forum.request("GET", "/users/2410024")           # ⚡ Custom async request
    job = forum.request.job("GET", "/users/2410024")                  # 📋 Job creation for custom request

asyncio.run(async_example())

# You should just add ".job" between function name and parentheses to create a job.
# You can't create a job for methods that are uploading files (like avatar/background) and ofc not for client.batch(...) method.
# P.s Your IDE probably may not show that ".job" function exists but it does.

forum.settings.token = "token"                                        # 🔑 Change token
forum.settings.language = "en"                                        # 🌍 Change language (Antipublic client doesn't support language changing)
forum.settings.proxy = "http://login:password@192.168.1.1:8080"       # 🌐 Change proxy
forum.settings.delay.min = 3                                          # 🕒 Set minimal delay (E.g. When your minimal delay is 3 seconds, and a method you want to use has a 
                                                                      #     delay of 0.2 seconds, your script will sleep for 3 seconds instead of 0.2 seconds)
forum.settings.delay.disable()                                        # 🕒 Disable auto delay
forum.settings.logger.disable()                                       # 📝 Stop logging

# You can view all changeable settings in LOLZTEAM/Client/Base/Core.py file

📚 Documentation

Package Documentation:

Forum API Client Market API Client Antipublic API Client

Official API Documentation:

Forum API Market API Antipublic API

Metadata

Release files for lolzteam 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lolzteam 2.2.1
File Size Uploaded Provenance Actions
lolzteam-2.2.1.tar.gz 50.7 kB Without provenance Details for lolzteam-2.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lolzteam 2.2.1
File Interpreter ABI Platform Actions
lolzteam-2.2.1-py3-none-any.whl Python 3 none any Details for lolzteam-2.2.1-py3-none-any.whl

Total release size: 103.5 kB

Release files / lolzteam-2.2.1.tar.gz

Download URL lolzteam-2.2.1.tar.gz
Size 50.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bff359d21f6f7df6d8564204f28eb04141fdb1c0ab3a108cbdb867e5778dd6e3
BLAKE2b-256 checksum
How to use checksums
481d6269f1f9d3d297cd4602d6177f03facd38490191087a846236e5c19b67df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / lolzteam-2.2.1-py3-none-any.whl

Download URL lolzteam-2.2.1-py3-none-any.whl
Size 52.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c484b13da9be2b9096c809cbd262d90a5c58111181172424200df6bec78d5c34
BLAKE2b-256 checksum
How to use checksums
a6d6d4ef0987f7ce9d8f12da62131328046d86752863eacbc2e8d7a29d724910
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for lolzteam 2.2.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.

Release history Release notifications | RSS feed

This release

2.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page