Features: - Full async API client for Kwork.ru - Pydantic models for type-safe responses - Comprehensive error handling - 93% test coverage CI/CD: - Parallel workflow jobs (lint, test, security) - Ruff for linting and formatting - MyPy for static type checking - pip-audit for security scanning - Pre-commit hooks for code quality
1.0 KiB
1.0 KiB
Kwork API
Unofficial Python client for Kwork.ru API.
Features
- Complete async API client (45+ endpoints)
- Pydantic models for all responses
- Two-step authentication (cookies + web_auth_token)
- Comprehensive error handling
- HTTP/2 support
Installation
uv add kwork-api
# or
pip install kwork-api
Quick Start
from kwork_api import KworkClient
# Login with credentials
async with await KworkClient.login("username", "password") as client:
# Get catalog
catalog = await client.catalog.get_list(page=1)
# Get projects
projects = await client.projects.get_list()
# Get user info
user = await client.user.get_info()
Documentation
- Usage Guide — Examples and best practices
- API Reference — Complete API documentation