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 marketpalce_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 marketpalce_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 marketpalce_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",
)

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.1.0.tar.gz (11.6 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.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for marketplace_handler-2.1.0.tar.gz
Algorithm Hash digest
SHA256 dcc1fb752e1e79c9e713cfec9dfeb3eb0bb47ba0caf3f11fddc0198f9d93650b
MD5 0c93373bcdf32aa57523d6924e80566e
BLAKE2b-256 e338cd5f4df2194c5933513486b7f9db11ad9808d31b7a199420f87c60e3a8e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for marketplace_handler-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f07425999b8f1f83b99c5e37a7efb9365a48b96cacb7c370085d1f743357198
MD5 bfc7c16ff393a7ef2839bb1cf47d4591
BLAKE2b-256 d46e03f68a44f7bcd2b122e73fbf8fd085e6fa83e80ef4e0a79aa4b02d9408d2

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