mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-07-25 06:14:29 +00:00
72 lines
1.5 KiB
Python
72 lines
1.5 KiB
Python
# Copyright (c) 2026 bohd4nx
|
|
#
|
|
# This source code is licensed under the MIT License found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
from importlib.metadata import version
|
|
|
|
from pyfragment.client import FragmentClient
|
|
from pyfragment.types import (
|
|
AdsRechargeResult,
|
|
AdsTopupResult,
|
|
AnonymousNumberError,
|
|
ClientError,
|
|
ConfigurationError,
|
|
CookieError,
|
|
CookieResult,
|
|
FragmentAPIError,
|
|
FragmentError,
|
|
FragmentPageError,
|
|
GiftsResult,
|
|
LoginCodeResult,
|
|
NumbersResult,
|
|
OperationError,
|
|
ParseError,
|
|
PremiumGiveawayResult,
|
|
PremiumResult,
|
|
StarsGiveawayResult,
|
|
StarsResult,
|
|
TerminateSessionsResult,
|
|
TransactionError,
|
|
UnexpectedError,
|
|
UsernamesResult,
|
|
UserNotFoundError,
|
|
VerificationError,
|
|
WalletError,
|
|
WalletInfo,
|
|
)
|
|
|
|
__version__: str = version("pyfragment")
|
|
|
|
__all__ = [
|
|
"__version__",
|
|
"FragmentClient",
|
|
"AdsRechargeResult",
|
|
"AdsTopupResult",
|
|
"GiftsResult",
|
|
"LoginCodeResult",
|
|
"NumbersResult",
|
|
"PremiumGiveawayResult",
|
|
"PremiumResult",
|
|
"StarsGiveawayResult",
|
|
"StarsResult",
|
|
"TerminateSessionsResult",
|
|
"UsernamesResult",
|
|
"WalletInfo",
|
|
"ClientError",
|
|
"ConfigurationError",
|
|
"CookieError",
|
|
"CookieResult",
|
|
"FragmentAPIError",
|
|
"FragmentError",
|
|
"FragmentPageError",
|
|
"AnonymousNumberError",
|
|
"OperationError",
|
|
"ParseError",
|
|
"TransactionError",
|
|
"UnexpectedError",
|
|
"UserNotFoundError",
|
|
"VerificationError",
|
|
"WalletError",
|
|
]
|