Metadata-Version: 2.4
Name: moysklad-api
Version: 0.2.3a1
Summary: Мой Склад API
Project-URL: Homepage, https://github.com/serdukow/ms_api
Project-URL: Documentation, https://github.com/serdukow/ms_api#readme
Project-URL: Repository, https://github.com/serdukow/ms_api
Author-email: Andrei Serdiukov <serdukow1@gmail.com>
Maintainer-email: Andrei Serdiukov <serdukow1@gmail.com>
License: MIT
License-File: LICENSE
Keywords: api,async,client,moysklad,мой склад
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <3.14,>=3.10
Requires-Dist: aiolimiter<2.0.0,>=1.2.1
Requires-Dist: httpx<0.29.0,>=0.28.1
Requires-Dist: pydantic<2.12.2,>=2.4.1
Provides-Extra: dev
Requires-Dist: pre-commit<5.0.0,>=4.3.0; extra == 'dev'
Requires-Dist: pytest-asyncio<2.0.0,>=1.2.0; extra == 'dev'
Requires-Dist: pytest<9.0.0,>=8.4.2; extra == 'dev'
Requires-Dist: ruff<0.15.0,>=0.14.1; extra == 'dev'
Provides-Extra: lint
Requires-Dist: pre-commit<5.0.0,>=4.3.0; extra == 'lint'
Requires-Dist: ruff<0.15.0,>=0.14.1; extra == 'lint'
Provides-Extra: test
Requires-Dist: pytest-asyncio<2.0.0,>=1.2.0; extra == 'test'
Requires-Dist: pytest<9.0.0,>=8.4.2; extra == 'test'
Description-Content-Type: text/markdown

<p align="center">
  <a href="https://api.moysklad.ru"><img src="https://www.moysklad.ru/upload/logos/logoMS500.png" alt="MoyskladAPI"></a>
</p>

<div align="center">

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![PyPI version](https://img.shields.io/pypi/v/moysklad-api.svg)](https://pypi.org/project/moysklad-api/)
[![Downloads](https://img.shields.io/pypi/dm/moysklad-api.svg)](https://pypi.python.org/pypi/moysklad-api)
[![Status](https://img.shields.io/badge/status-pre--alpha-8B5CF6.svg?logo=git&logoColor=white)]()
[![API Version](https://img.shields.io/badge/Мой_Склад_API-1.2-blue.svg)](https://dev.moysklad.ru/doc/api/remap/1.2/)

</div>

> [!CAUTION]
> Библиотека находится в активной разработке и 100% **не рекомендуется для использования в продакшн среде**.

## Установка

```console
pip install moysklad-api
```

## Пример использования

```Python
import asyncio

from moysklad_api import MoyskladAPI

ms_api = MoyskladAPI(token="my_token")


async def get_archived_products():
    return await ms_api.get_products(
        filters={"archived": True},
        expand="supplier"
    )


if __name__ == __main__
    asyncio.run(get_archived_products())
```
