Skip to main content

Fast, lightweight async client for the Wildberries Seller API

Project description

wbapi

Version Downloads Status Python


Documentation: https://dev.wildberries.ru

Source Code: https://github.com/serdukow/wbapi-async


wbapi is a lightweight async client for the Wildberries Seller API, built on top of httpx.

It handles pagination, rate limiting — so you can focus on your business logic instead of HTTP boilerplate.

Installation

pip install wbapi-async

How to use

  1. Register in the Wildberries seller personal account if you haven't already.
  2. Go to store settings and create an API token.

Quick start

import asyncio
from wbapi import WbAPI

async def main():
    async with WbAPI(token="your_api_token") as api:
        my_cards = await api.post(
            "/content/v2/get/cards/list",
            body={
                "settings": {
                    "sort": {"ascending": True},
                    "cursor": {"limit": 100},
                    "filter": {"withPhoto": -1},
                }
            },
            paginate=True,
        )
        print(my_cards[0].nmID)

asyncio.run(main())

License

This project is licensed under the terms of the MIT license.

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.10.0.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.10.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wbapi_async-0.10.0.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.10.0.tar.gz
Algorithm Hash digest
SHA256 301814c4a7d1cd8405832c029e3a9acd1ce33971a1cc6abcf3886f6af75169cd
MD5 952034b03577485eb7e318b043be5add
BLAKE2b-256 1caf6d867ac467337c8f01b8a51e4ca3da80e369421e0c20a4d4942f80ffb541

See more details on using hashes here.

Provenance

The following attestation bundles were made for wbapi_async-0.10.0.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.10.0-py3-none-any.whl.

File metadata

  • Download URL: wbapi_async-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 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.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 766bcbe61c0aa250ca7681a5244cd5be920f8b378a5f7e4af9c63f7bd32227c1
MD5 f0911f52574e0ce79733837fe0b63d45
BLAKE2b-256 8f78c1131decf093693399011cf4734c5511bf95ce77190a06951ae3e799ec29

See more details on using hashes here.

Provenance

The following attestation bundles were made for wbapi_async-0.10.0-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