Async Python SDK for Yandex Market Partner API
Project description
yandex-market-api
Async Python client for the Yandex Market Partner API (unofficial).
This library provides an asynchronous, resource-oriented interface for interacting with the Yandex Market Partner API. It is designed as a thin, explicit SDK that mirrors the API structure while following Python and async best practices.
⚠️ Important: this project is in alpha stage and is under active development. The public API may change, and not all endpoints are implemented yet.
Features
- Fully asynchronous HTTP client based on
httpx - Resource-oriented design (
client.offers,client.campaigns, etc.) - Explicit and predictable method naming
- Python 3.10+ support
- Designed to be extended with typed models (Pydantic) over time
Installation
The library can be installed from PyPI:
pip install yandex-market-api
Python 3.10 or newer is required.
Quick start
from yandex_market_api import YandexMarketClient
import asyncio
async def main() -> None:
client = YandexMarketClient(token="YOUR_API_TOKEN")
campaigns = await client.campaigns.list_campaigns()
print(campaigns)
await client.close()
asyncio.run(main())
The client is asynchronous, so it should be used inside an async context
(e.g. with asyncio.run).
Project status
Alpha (work in progress)
- Some endpoints are not implemented yet
- Request and response schemas are mostly returned as plain dictionaries
- Error handling and retries are still evolving
- Backward compatibility is not guaranteed between alpha releases
The project is suitable for experimentation and internal tooling, but it is not yet recommended for production use.
Project details
Release history Release notifications | RSS feed
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 yandex_market_api-0.1.0a2.tar.gz.
File metadata
- Download URL: yandex_market_api-0.1.0a2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b845e45851a748703d0d814883d09a978c97d7b77c5b01b6dcad24f8bdf7df84
|
|
| MD5 |
b798c7dfee2300e5c67ad5dc1b4651f7
|
|
| BLAKE2b-256 |
db54be89342c6fb9ed7d75149208796f5e6876b08dd823355745f4f60763734a
|
File details
Details for the file yandex_market_api-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: yandex_market_api-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2aae1ca74b6171675ee6dfd78fdc213d6f043d6bbe2beb41cf9bf5434b176ed
|
|
| MD5 |
446325d8ef9e11a382004ac3433651cc
|
|
| BLAKE2b-256 |
58da61e834c33c2ced3a1cd9f1098b6c2a612c6adf50b06745b672d7a6f43504
|