Skip to main content

Magnit parser

Project description

Magnit Mobile API Parser

Парсер мобильного API приложения «Магнит». API был проанализирован через перехват трафика мобильного приложения. Эндпоинты и примеры запросов/ответов получил с помощью Burp Suite. Спарсил данные для городов Москва и Санкт-Петербург и сохранил в один файл, можно посмотреть в папке results/

Основные эндпоинты:

  • POST /v2/goods/search — получение списка товаров категории
  • GET /v2/goods/{id}/stores/{storeCode} — получение информации о конекретном товаре

Установка

git clone https://github.com/Ig0rek15/magnit-mobile-parser
cd magnit-mobile-parser
python -m venv venv
source venv\Scripts\activate
pip install -r requirements.txt

Запуск

python main.py

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

magnit_parser-0.0.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file magnit_parser-0.0.1.tar.gz.

File metadata

  • Download URL: magnit_parser-0.0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for magnit_parser-0.0.1.tar.gz
Algorithm Hash digest
SHA256 11854198a20394ae1a71657112cd1655000b0632432192cade4bb96cb9373a91
MD5 a2bcd13750e73dfa68f7b6b4e634f67d
BLAKE2b-256 3bdbc58398700ed0225740ffa2767e889e6b6e35dda57b6375d93962c92cf899

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