Skip to main content

Module to interact with marketplaces

Project description

marketplace_handler

Package to interact with marketplaces.

Installation

pip

pip install marketplace_handler

poetry

poetry add marketplace_handler

Usage

Wildberries

from marketplace_handler import Wildberries, WbAccount

wb = Wildberries(
    account_data=WbAccount(
        name="name",
        common_token="common_token",
        statistic_token="statistic_token",
        warehouse_id="warehouse_id",
        x_supplier_id="x_supplier_id",
    ),
    mapping_url="mapping_url",
    mapping_token="mapping_token",
)

Ozon

from marketplace_handler import Ozon, OzonAccount

ozon = Ozon(
    account_data=OzonAccount(
        name="name",
        api_key="api_key",
        client_id="client_id",
        warehouse_id="warehouse_id",
    ),
    mapping_url="mapping_url",
    mapping_token="mapping_token",
)

Yandex

from marketplace_handler import Yandex, YandexAccount

yandex = Yandex(
    account_data=YandexAccount(
        name="name",
        token="token",
        business_id="business_id",
        campaign_id="campaign_id",
    ),
    mapping_url="mapping_url",
    mapping_token="mapping_token",
)

TEST

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marketplace_handler-2.5.23.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

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

marketplace_handler-2.5.23-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file marketplace_handler-2.5.23.tar.gz.

File metadata

  • Download URL: marketplace_handler-2.5.23.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for marketplace_handler-2.5.23.tar.gz
Algorithm Hash digest
SHA256 ce8889710e2a42def40481b252a9e48877930dec3b643c1dc1968f8f3a95ef77
MD5 c8131d1a980bc688444b55ed29007342
BLAKE2b-256 88d32a556138ef5446758461339b6f57f483ad45556a49b88e41f55b2948dac6

See more details on using hashes here.

File details

Details for the file marketplace_handler-2.5.23-py3-none-any.whl.

File metadata

File hashes

Hashes for marketplace_handler-2.5.23-py3-none-any.whl
Algorithm Hash digest
SHA256 8d511b82d071456ac3d1415d9895b1d398639da744ab8b6a7cb4b6bc3608b70a
MD5 cc6481aea5a9686487ff5b6758b6ea3e
BLAKE2b-256 4253528f9042056dcf9ffcd226dad350a53d2be09ef9629d8c9c3eb0960dd463

See more details on using hashes here.

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