Skip to main content

Python client for API Marketplace (Encar & KBchachacha)

Project description

Marketplace API Client

Python клиент для работы с API Marketplace (Encar и KBchachacha).

Установка

pip install api-marketplace-client

Использование

from api_marketplace_client import EncarClient, KBchachachaClient

# Инициализация клиентов
encar = EncarClient(api_key="your_api_key")
kb_chachacha = KBchachachaClient(api_key="your_api_key")

# Получение списка брендов
brands = encar.get_brands()
print(brands)

# Получение автомобилей
cars = encar.get_cars(brand_code="001", page=1, per_page=20)
print(cars)

API Reference

EncarClient

  • get_brands() - Получить список всех брендов
  • get_brand(brand_code) - Получить информацию о бренде
  • get_models(brand_code) - Получить модели бренда
  • get_cars(**filters) - Получить список автомобилей

KBchachachaClient

  • get_brands() - Получить список производителей
  • get_brand(brand_code) - Получить информацию о производителе
  • get_cars(**filters) - Получить список автомобилей

Лицензия

MIT License

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

api_marketplace_client-1.0.0.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

api_marketplace_client-1.0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file api_marketplace_client-1.0.0.3.tar.gz.

File metadata

File hashes

Hashes for api_marketplace_client-1.0.0.3.tar.gz
Algorithm Hash digest
SHA256 e7ca3fb896a49540b5034e2c225ba5ec8cb38513550e5cc5145789ddfe858326
MD5 0c954fa269a03ad97f4527863e04b39c
BLAKE2b-256 2d2b4147e9b3e97fd70386690dc02f71dad881b4e74cca59adb27619269d0895

See more details on using hashes here.

File details

Details for the file api_marketplace_client-1.0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for api_marketplace_client-1.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f57c75e9c533716973ee931b008b647e54bed2b1469a8c4606c558c9021ce6a5
MD5 a28af64ce9d83f69797f568106ac091d
BLAKE2b-256 dd99acbb695cb3bb33855838a2e6bab549548f5eca06c8b2f9682d48b3e3273f

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