Free Fire Info Python Module — from siambhau import bhauxffinfo
Project description
siambhau
Free Fire Info Python Module by SiamBhau
Installation
pip install siambhau
Quick Start
from siambhau import bhauxffinfo
client = bhauxffinfo.FFClient()
# Get player info
info = client.get_player_info(uid="4147917569", region="IND")
print(info)
# Get player stats
stats = client.get_player_stats(uid="4147917569", region="IND", matchmode="CAREER")
print(stats)
# Search player by name
results = client.search_player(keyword="SiamBhau", region="IND")
print(results)
Methods
get_player_info(uid, region)
Returns full player profile information.
| Parameter | Type | Description |
|---|---|---|
uid |
str / int | Player UID |
region |
str | Server region (e.g. IND, BD, SG) |
info = client.get_player_info(uid="4147917569", region="IND")
basic = info.get("basicInfo", {})
print(basic.get("nickname")) # Player name
print(basic.get("level")) # Player level
print(basic.get("liked")) # Total likes
print(basic.get("exp")) # Experience points
print(basic.get("region")) # Server region
get_player_stats(uid, region, matchmode)
Returns player battle statistics.
| Parameter | Type | Description |
|---|---|---|
uid |
str / int | Player UID |
region |
str | Server region |
matchmode |
str | CAREER, NORMAL, or RANKED (default: CAREER) |
stats = client.get_player_stats(uid="4147917569", region="IND", matchmode="RANKED")
print(stats)
search_player(keyword, region)
Search players by name.
| Parameter | Type | Description |
|---|---|---|
keyword |
str | Player name or keyword |
region |
str | Server region |
results = client.search_player(keyword="SiamBhau", region="IND")
for player in results.get("accountList", []):
print(player.get("nickname"), player.get("accountId"))
refresh_tokens(regions=None)
Manually refresh JWT tokens.
client.refresh_tokens() # Refresh all regions
client.refresh_tokens(["IND", "BD", "SG"]) # Refresh specific regions
get_supported_regions()
Returns all supported server regions.
regions = bhauxffinfo.FFClient.get_supported_regions()
print(regions)
# {'IND', 'BD', 'SG', 'BR', 'US', 'NA', 'SAC', 'RU', 'ID', 'TW', 'VN', 'TH', 'ME', 'PK', 'CIS', 'EUROPE'}
Async Usage
import asyncio
from siambhau import bhauxffinfo
client = bhauxffinfo.FFClient()
async def main():
# Fetch multiple requests at the same time (much faster)
info, stats, search = await asyncio.gather(
client.async_get_player_info(uid="4147917569", region="IND"),
client.async_get_player_stats(uid="4147917569", region="IND", matchmode="RANKED"),
client.async_search_player(keyword="SiamBhau", region="IND"),
)
print(info)
print(stats)
print(search)
asyncio.run(main())
Supported Regions
| Code | Server |
|---|---|
IND |
India |
BD |
Bangladesh |
SG |
Singapore |
BR |
Brazil |
US |
United States |
NA |
North America |
SAC |
South America |
RU |
Russia |
ID |
Indonesia |
TW |
Taiwan |
VN |
Vietnam |
TH |
Thailand |
ME |
Middle East |
PK |
Pakistan |
CIS |
CIS |
EUROPE |
Europe |
Developer
SiamBhau Telegram: t.me/SiamBhau
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
siambhau-1.0.1.tar.gz
(21.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
siambhau-1.0.1-py3-none-any.whl
(25.7 kB
view details)
File details
Details for the file siambhau-1.0.1.tar.gz.
File metadata
- Download URL: siambhau-1.0.1.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0952957b1b3955e549ebd1f36481b66b8de2ddaca0f001af628449067284f88d
|
|
| MD5 |
000782456ac56588ee99a90cc118760f
|
|
| BLAKE2b-256 |
16965f30443c5bd50b26389d49a485c1bda53506614bbd0a0b282d805411b89a
|
File details
Details for the file siambhau-1.0.1-py3-none-any.whl.
File metadata
- Download URL: siambhau-1.0.1-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a16d0c3dfe0b76d3badaf416bace21768f65972f0ae9c1de74d7cadfc8fd9822
|
|
| MD5 |
745b4094c1915b8519cf9a45d326478c
|
|
| BLAKE2b-256 |
c3dcc929878aee22eb185290b5f4154a1b8565d313eb0f6f52cb809167615750
|