Skip to main content

Fast, lightweight async client for the Wildberries Seller API

Project description

Logo

Fast, lightweight async client for the Wildberries Seller API

License: MIT PyPI version Downloads Docs Python

Features

  • Zero boilerplate — responses are plain attribute-accessible dicts
  • Auto-paginationget_all() fetches all pages. Auto-detects all known strategies; you can easily add your own via a custom paginator — see docs
  • Rate limiting — per-endpoint limits powered by aiolimiter
  • Auto-retry — automatic retry
  • Always up to date — path registry is updated every monday
  • Fully async — built on httpx + asyncio

Install

pip install wbapi-async

Quick start

import asyncio
from wbapi import WbAPI

async def main():
    async with WbAPI(token="YOUR_TOKEN") as api:
        body = {
            "settings": {
                "sort": {"ascending": True},
                "cursor": {"limit": 100},
                "filter": {"withPhoto": -1},
            }
        }

        cards = await api.get_all("/content/v2/get/cards/list", body=body)
        print(f"cards: {cards!r}")

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

wbapi_async-0.7.8.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

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

wbapi_async-0.7.8-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file wbapi_async-0.7.8.tar.gz.

File metadata

  • Download URL: wbapi_async-0.7.8.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wbapi_async-0.7.8.tar.gz
Algorithm Hash digest
SHA256 2a1e4dffe8d2f26972be00adacb435c4ec4f1282d5a998a521ed4e5926c08ee6
MD5 7369789ccfcb30aed5180b356a648f44
BLAKE2b-256 e9c06457fe605a0a0ee72445566680ef4ae38d0df443ef9d3af5facc7d6a60c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for wbapi_async-0.7.8.tar.gz:

Publisher: pypi_release.yml on serdukow/wbapi-async

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wbapi_async-0.7.8-py3-none-any.whl.

File metadata

  • Download URL: wbapi_async-0.7.8-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wbapi_async-0.7.8-py3-none-any.whl
Algorithm Hash digest
SHA256 81d8b25e74766ea9b994380784a7985262cdec832a32b91db5d90ba640a19fde
MD5 6635a249f55fb26050e253990ff4496e
BLAKE2b-256 988f4cf4d587baefbbc4c783600b83007d8a4278a008738aa5e0a3dd509a407c

See more details on using hashes here.

Provenance

The following attestation bundles were made for wbapi_async-0.7.8-py3-none-any.whl:

Publisher: pypi_release.yml on serdukow/wbapi-async

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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