Skip to main content

Асинхронный клиент для взаимодействия с закрытым API kwork.ru

Project description

kworker

PyPI version Python versions License GitHub stars GitHub release date

Зачем нужен kworker

Предоставить удобное взаимодействие с API фриланс биржи kwork.ru

Как установить kworker

python -m pip install kworker

Начало работы с kworker

import asyncio
from kworker.api import KworkAPI

async def main():
    try:
        client = KworkAPI(login="example@email.com", password="123456", phone_last='1234')
        # Получение информации о себе
        me = await client.get_me()
        print(f"Авторизован: {me.username} (ID: {me.id})")
        # Отправка своего запроса
        await client.request(method="post", api_method="user", id="10101", token=await client.token)
    finally:
        await client.close()

asyncio.run(main())

Поддержка

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

kworker-0.2.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kworker-0.2.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file kworker-0.2.0.tar.gz.

File metadata

  • Download URL: kworker-0.2.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for kworker-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a558e6ca0f88ee135311602f4a95f20521682b00445a1ac3aa3f011ed5ca7781
MD5 00ef7f84b2e69c2e53e08d7cbd1eb93b
BLAKE2b-256 fd95d4fdb354709770b0df441a0a4f5bfdd862387a2d7d2aa18d8185cda2f577

See more details on using hashes here.

File details

Details for the file kworker-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kworker-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for kworker-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a40959d3af3c9ffab9e9fcf40e4916f9280189bda1d174bca908b8238853117c
MD5 582a55e1564d3ae9ae52177d33498824
BLAKE2b-256 4196c2c6d3e9d4beca0f7916b00936296c3274be142f645ad9922c2a7522f695

See more details on using hashes here.

Supported by

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