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

Uploaded Source

File details

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

File metadata

  • Download URL: magnit_parser-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 994d98b52fbf35959511209099f33a5c20fb4c75d713f4274f65b9b0aacbde76
MD5 3321ef47b478c6c4095530a197801fb7
BLAKE2b-256 7bd638254b4abeeb3a56129e8d6a48c8d5a150946d18058db29e6bb0d70b8b97

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