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.2.tar.gz (5.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: magnit_parser-0.0.2.tar.gz
  • Upload date:
  • Size: 5.8 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.2.tar.gz
Algorithm Hash digest
SHA256 78da774e230b4c734909d0cd5a44dea0541093cd4deeaf48af86d9be7d37c815
MD5 89298422559f0b4e7fec61216c75bf9e
BLAKE2b-256 fcfb34159e6cb6f1b38759f19f39130748969f26f48fb86b3fabc6fe8f4ecdc2

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