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.0
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.0.tar.gz | 89.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fragapi-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 103.1 kB
Release files / fragapi-0.4.0.tar.gz
| Download URL | fragapi-0.4.0.tar.gz |
|---|---|
| Size | 89.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b57193dea094698c2035cdc2b2f23a71c91e6d28ffb188b5899974b992aa454
|
|
BLAKE2b-256 checksum How to use checksums |
dae283ca50df8d5942e8c5c06871d04be0e4b08122a366644cb216f48b22599e
|
| 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.0-py3-none-any.whl
| Download URL | fragapi-0.4.0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6ed319ff16eeca07d100a83dc4ded7434a9645c1f1d86be2d7f79c44ce6a3171
|
|
BLAKE2b-256 checksum How to use checksums |
922cb7bb08cb73fc3998ad47a00e3172a7593530a27b91653aaddbd3bc55c62b
|
| 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}
|