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.41.tar.gz (14.5 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.41-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: marketplace_handler-2.5.41.tar.gz
  • Upload date:
  • Size: 14.5 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.5.41.tar.gz
Algorithm Hash digest
SHA256 4afa4283ee8bcb53b6326dafe38a1692ece569288264d507e2ab09bcaac2fc02
MD5 10e52827360f6e7de7ec7241fa35bfc1
BLAKE2b-256 0e47ed48db5becec061ad38c42ac69ef94543967aef6b2638c5cb4826838e7a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for marketplace_handler-2.5.41-py3-none-any.whl
Algorithm Hash digest
SHA256 e8200f15c7c0fc86af601ae1922181a9224e76642386fb96b80b909563a97bd5
MD5 bac6cefe68b5b8bba65f306d41970e96
BLAKE2b-256 0e14226507660bca3e767fc945c6ca4dcc13438a48bc276dea55131efc4160b2

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