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-3.0.16.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.

marketplace_handler-3.0.16-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marketplace_handler-3.0.16.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for marketplace_handler-3.0.16.tar.gz
Algorithm Hash digest
SHA256 6af949d453cb53ca5e13f372bd4b7beb6e1722ad2c030c65f8a865f078da2da2
MD5 93fba2390b5c47cc8df29b6c02f8d203
BLAKE2b-256 005c054a6665f0e818cd68898c643030e8dc3f93e70625ffd008c1bc1a6e6aa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for marketplace_handler-3.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 c71bafe5191045662a4b1bf96f4026f8fa30200edd6e38154cef7a24d1ce263e
MD5 752ed5728ee59129e224e8c4abbe3bf6
BLAKE2b-256 6aa7ca0894e33a44fe3d598b0bad420b87cc0e46df3ad46ce9cc1b0a3facaa2e

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