Metadata-Version: 2.5
Name: fragapi
Version: 0.3.1
Summary: Async & Sync API client for FragAPI
Project-URL: Homepage, https://github.com/apelsynca/fragapi-python
Project-URL: Examples, https://github.com/apelsynca/fragapi-python/tree/main/examples/
Author-email: apelsynca <apelsynca@proton.me>
Maintainer-email: apelsynca <apelsynca@proton.me>
License-Expression: MIT
License-File: LICENSE
Keywords: AsyncIO,FragAPI,Fragment,SDK,TON,blockchain,crypto
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: aiohttp>=3.14.3
Requires-Dist: certifi>=2026.7
Requires-Dist: pydantic>=2.10
Description-Content-Type: text/markdown

# Getting Started

> This library is a python SDK for [FragAPI](https://fragapi.com)

## Installation

```bash theme={"theme":{"light":"github-light-default","dark":"dark-plus"}}
pip install fragapi
```

| Requirement | Version |
| ----------- | ------- |
| Python      | 3.10+   |
| aiohttp     | 3.14+   |
| pydantic    | 2.13+   |

Basic example:

```
import asyncio

from fragapi import FragAPI


async def main() -> None:
    fragapi = FragAPI(token="YOUR_TOKEN_FROM_PANEL")
    me = await fragapi.get_me()
    print(me.balance)  # Your balance


if __name__ == "__main__":
    asyncio.run(main())
```
