mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-07-25 14:24:31 +00:00
8163ed1a9d
- Implemented `search_gifts` method for searching gifts in the Fragment marketplace. - Implemented `search_numbers` method for searching anonymous Telegram numbers. - Added new example scripts for searching gifts, numbers, and usernames. - Updated HTML parsing logic to handle gift items and number listings. - Added unit tests for the new search methods and updated existing tests for usernames and numbers. - Removed obsolete test file for auction searches.
25 lines
663 B
Python
25 lines
663 B
Python
from pyfragment.utils.decoder import clean_decode
|
|
from pyfragment.utils.html import parse_auction_rows, parse_gift_items, parse_login_code
|
|
from pyfragment.utils.http import (
|
|
execute_transaction_request,
|
|
fragment_request,
|
|
get_fragment_hash,
|
|
make_headers,
|
|
parse_json_response,
|
|
)
|
|
from pyfragment.utils.wallet import get_account_info, process_transaction
|
|
|
|
__all__ = [
|
|
"clean_decode",
|
|
"parse_auction_rows",
|
|
"parse_gift_items",
|
|
"parse_login_code",
|
|
"execute_transaction_request",
|
|
"fragment_request",
|
|
"get_account_info",
|
|
"get_fragment_hash",
|
|
"make_headers",
|
|
"parse_json_response",
|
|
"process_transaction",
|
|
]
|