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.1.tar.gz (13.0 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.1-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wbapi_async-0.10.1.tar.gz
  • Upload date:
  • Size: 13.0 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.1.tar.gz
Algorithm Hash digest
SHA256 1064d4fe71acff1520d141561f71f149134113af22ee97d257366124902d24f8
MD5 5f18916f85a2282bf35ee5fc323b694a
BLAKE2b-256 4a2e0226e82af407676eb86b858758f5412d9b9b042673bbc6d0bd6c8763c324

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wbapi_async-0.10.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b1dfbbde1b4545b511043a802a32fcc32426c90d08244bf64f4d949aba0ae7d
MD5 6f9773080ee8180af6e590d157fbee2b
BLAKE2b-256 601ce053bab6123096ac78ad64a6221d6b8a5b3a61604b4bd0ec2bb4e26b53f4

See more details on using hashes here.

Provenance

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