Skip to main content

Not official python client for product market sbermarket API.

Project description

sbermarket-api

Build status Python Version Dependencies Status

Code style: black Security: bandit Pre-commit Semantic Versions License

Not official python client for product market Sbermarket.

Задачи что преследовал:

  1. Поиск самого дешевого товара среди магазинов вокруг.
  2. Отлеживание в целом цен на продукты.
  3. Сделать алерт на дешевые товары.
  4. Вести статистику на цены товаров.

Что внутри?

Токен получается только из статического js скрипта. Где содержится JSON вида:

{"api-version":"3.0","client-token":"TOKEN","is-storefront-ssr":l.sk}

Скорее всего он у всех одинаковый.

Installation

pip install -U sbermarket-api

or install with Poetry

poetry add sbermarket-api

📈 Releases

You can see the list of available releases on the GitHub Releases page.

We follow Semantic Versions specification.

We use Release Drafter. As pull requests are merged, a draft release is kept up-to-date listing the changes, ready to publish when you’re ready. With the categories option, you can categorize pull requests in release notes using labels.

🛡 License

License

This project is licensed under the terms of the MIT license. See LICENSE for more details.

Alternatives

  1. Sbermarket client on TypeScript https://github.com/x0rium/sbermarket-api

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

sbermarket-api-0.0.3.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

sbermarket_api-0.0.3-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

File details

Details for the file sbermarket-api-0.0.3.tar.gz.

File metadata

  • Download URL: sbermarket-api-0.0.3.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Linux/5.15.0-1017-azure

File hashes

Hashes for sbermarket-api-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c69d7d6c7e6f73796bbcfa9acb3f25ddbc8137b68742d612842e61a583ea07b7
MD5 6e5e1020fc2c823846c46daff7e4ab3a
BLAKE2b-256 a1f90656d64fcc129f1b8abbda93e560aa28710fe923362f680938dd468e6987

See more details on using hashes here.

File details

Details for the file sbermarket_api-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sbermarket_api-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 44.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.10.2 Linux/5.15.0-1017-azure

File hashes

Hashes for sbermarket_api-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b5f03b469b6762f8c069c0b223d1f53aa9c9e9db86f98ffd60d7d45c082f9d2b
MD5 d0742d5b1caef4bfc65bf13077562c49
BLAKE2b-256 cabea4a941a91373ae2d78f8b7ad2a5dce989572690d6263195a60db2238a551

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page