Getting Started
This library is a python SDK for FragAPI
Installation
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())
Release files for fragapi 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fragapi-0.4.1.tar.gz | 89.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fragapi-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 103.1 kB
Release files / fragapi-0.4.1.tar.gz
| Download URL | fragapi-0.4.1.tar.gz |
|---|---|
| Size | 89.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11befa83e6aecc012643f754412c676b2c1638227c0359d0311625f319d8b0ba
|
|
BLAKE2b-256 checksum How to use checksums |
dc99392e9276d12b8b81b383104d3bf69f04a4b0c266bae66ab7285bad549ba0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / fragapi-0.4.1-py3-none-any.whl
| Download URL | fragapi-0.4.1-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68e70ab71a20a17a8e8b2b8f97cb42d7f460b2afe087254f4965d113644eecd5
|
|
BLAKE2b-256 checksum How to use checksums |
cac51f105ce2db58e579f917a1aa05ccfe8b64f70194d55b1694b3fbcf144eab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|