Skip to content

Not official python client for product market sbermarket API

License

Notifications You must be signed in to change notification settings

Nov1kov/sbermarket-api

Repository files navigation

sbermarket-api

Build status Python Version Dependencies Status PyPI version 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