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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file api_marketplace_client-1.0.0.3.tar.gz.
File metadata
- Download URL: api_marketplace_client-1.0.0.3.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7ca3fb896a49540b5034e2c225ba5ec8cb38513550e5cc5145789ddfe858326
|
|
| MD5 |
0c954fa269a03ad97f4527863e04b39c
|
|
| BLAKE2b-256 |
2d2b4147e9b3e97fd70386690dc02f71dad881b4e74cca59adb27619269d0895
|
File details
Details for the file api_marketplace_client-1.0.0.3-py3-none-any.whl.
File metadata
- Download URL: api_marketplace_client-1.0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f57c75e9c533716973ee931b008b647e54bed2b1469a8c4606c558c9021ce6a5
|
|
| MD5 |
a28af64ce9d83f69797f568106ac091d
|
|
| BLAKE2b-256 |
dd99acbb695cb3bb33855838a2e6bab549548f5eca06c8b2f9682d48b3e3273f
|