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.9.0.tar.gz (12.9 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.9.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wbapi_async-0.9.0.tar.gz
  • Upload date:
  • Size: 12.9 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.9.0.tar.gz
Algorithm Hash digest
SHA256 44a8a8651dcf81d93e01a5635e5e8bb487d3a526a4e50538dc2248a0c20e090f
MD5 dc4e1439e7d68172cb3a528195d61570
BLAKE2b-256 bda6e34e66ff70b4112f4ebe0a6bf47528e39e8f6846fdc1f4ad76bd55d63960

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: wbapi_async-0.9.0-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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44293edbce41e66a3089fedc52208b79360fa28c18d6ad19c14cc8acaf52c1d7
MD5 b2c1feb018b90b564f8110366ad3e34d
BLAKE2b-256 54629a006723f59cb547dea44016cb6967455d59f97d39aecf43dfaf120be023

See more details on using hashes here.

Provenance

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