Skip to main content

Garena Free Fire JWT Token Generator Module

Project description

🚀 FlexbaseGFFT

FlexbaseGFFT (Flexbase Garena Free Fire Toolkit) is a fast and lightweight Python library designed for Garena Free Fire automation. It provides secure JWT token generation, player information utilities, server endpoint discovery, suspension status checking, and automatic live game update retrieval through a simple synchronous API.

No async/await is required, making integration easy for any Python project.


✨ Features

  • 🚀 Fast & Lightweight

    • Optimized for speed and efficient performance.
  • 🧠 Smart Caching

    • Live game update information is fetched only once during bulk processing and cached in memory.
  • Simple Synchronous API

    • No async/await.
    • Easy integration.
    • Clean and minimal interface.
  • 🔐 FFJTG

    • Generates secure JWT verification tokens using Garena authentication credentials.
  • 🚫 BanCheck

    • Retrieves player suspension status using a target player UID.
  • 👤 UTN (UidToName)

    • Quickly returns a player's nickname using a simple function call.
  • 🌍 RegionCheck

    • Detects and returns the target player's active region.
  • 🌐 CBSU

    • Parses login response mappings and returns live server endpoint details.
  • 🔄 FFUpdater

    • Dynamically retrieves the latest live game version information.
  • 📦 Automatic Dependency Installation

    • Required dependencies are installed automatically through pip.

📋 Requirements

  • Python 3.10+
  • pip

📥 Installation

Install directly from PyPI:

pip install FlexbaseGFFT

Or install from source:

git clone https://github.com/Flexbasei/FlexbaseGFFT.git
cd FlexbaseGFFT
pip install .

🚀 Quick Start

from FlexbaseGFFT import FFJTG, FFUpdater

# Fetch latest game update information
updater = FFUpdater()
print(updater.info)

# Generate JWT token
engine = FFJTG()

result = engine.access_token(
    access_token="YOUR_ACCESS_TOKEN"
)

print(result)

📚 Modules


🔐 FFJTG (JWT Token Generator)

Generates secure JWT verification tokens using Garena authentication credentials.

UID + Password

from FlexbaseGFFT import FFJTG

engine = FFJTG()

result = engine.uid_password(
    uid="YOUR_UID",
    password="YOUR_PASSWORD"
)

print(result)

Access Token

from FlexbaseGFFT import FFJTG

engine = FFJTG()

result = engine.access_token(
    access_token="YOUR_ACCESS_TOKEN"
)

print(result)

Access Token + Open ID

from FlexbaseGFFT import FFJTG

engine = FFJTG()

result = engine.access_token(
    access_token="YOUR_ACCESS_TOKEN",
    open_id="YOUR_OPEN_ID"
)

print(result)

Example Output

{
    "status": "success",
    "account_id": 13103014678,
    "account_name": "Garena",
    "open_id": "f1200aa49c070fbb81...",
    "access_token": "D24rdw46uh9igs247...",
    "platform": "Guest",
    "region": "BD",
    "token": "eyJhbGciOiJIUzI1Ni..."
}

🚫 BanCheck

Retrieve player suspension status.

from FlexbaseGFFT import BanCheck

checker = BanCheck()

result = checker.check("13103014678")

print(result)

Example Output

{
    "status": true,
    "uid": "13103014678",
    "nickname": "Garena",
    "region": "BD",
    "ban_status": "Not banned",
    "is_banned": false,
    "ban_period_months": null
}

👤 UTN (UidToName)

Return a player's nickname.

from FlexbaseGFFT import UTN

nickname = UTN("13103014678")

print(nickname)

Output

Garena

🌍 RegionCheck

Return the player's active region.

from FlexbaseGFFT import RegionCheck

region = RegionCheck("13103014678")

print(region)

Output

BD

🌐 CBSU (Credential By Server URL)

Retrieve live server endpoint information.

UID + Password

from FlexbaseGFFT import CBSU

engine = CBSU()

result = engine.uid_password(
    "YOUR_UID",
    "YOUR_PASSWORD"
)

print(result)

Access Token

result = engine.access_token(
    access_token="YOUR_ACCESS_TOKEN"
)

print(result)

Access Token + Open ID

result = engine.access_token(
    access_token="YOUR_ACCESS_TOKEN",
    open_id="YOUR_OPEN_ID"
)

print(result)

Example Output

{
    "status": "success",
    "account_id": "13103014678",
    "account_name": "Garena",
    "open_id": "f1200aa49c070fbb81...",
    "access_token": "D24rdw46uh9igs247...",
    "platform": "Guest",
    "region": "BD",
    "server_url": "https://clientbp.ggpolarbear.com",
    "server_login_url": "https://loginbp.ggblueshark.com"
}

🔄 FFUpdater

Retrieve the latest live game update information.

from FlexbaseGFFT import FFUpdater

updater = FFUpdater()

print(updater.info)

Example Output

{
    "VersionCode": "1.104.X",
    "ReleaseVersion": "OB54",
    "FromVersion": "OB53",
    "ToVersion": "OB54",
    "NextUpdateDate": "September 15, 2026 (GMT-3)",
    "Countdown": "24 days"
}

⚡ Performance

  • Smart in-memory caching
  • Lightweight synchronous execution
  • Reduced network requests
  • Optimized for bulk processing
  • Fast runtime performance


---

# 🤝 Community & Support

Stay updated with our latest projects and releases.

- 💝 **Telegram:** https://t.me/Flexbasei
- 🌺 **Developer:** https://t.me/spideerio_yt
- 💻 **GitHub:** https://github.com/Flexbasei

---

# ⭐ Support

If you find this project useful, please consider giving it a **⭐ Star** on GitHub.

Made with ❤️ by **Flexbase**

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flexbasegfft-2.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flexbasegfft-2.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file flexbasegfft-2.0.1.tar.gz.

File metadata

  • Download URL: flexbasegfft-2.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for flexbasegfft-2.0.1.tar.gz
Algorithm Hash digest
SHA256 403b91cea78138b06e232eeb7935d17cabea97ab1e9f4e0fc7d45eb48c0c2b9e
MD5 cc02f9d74123eeadbbe0fc2448e2627d
BLAKE2b-256 986713f6785d5ec26e0d3d1ccba2d945056fc867f524b8f2072758721f6154e3

See more details on using hashes here.

File details

Details for the file flexbasegfft-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: flexbasegfft-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for flexbasegfft-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0db06b18a1bbe43cc560773df3752fc3386a3197717b6dc83a88e817ccad2c0f
MD5 730ee366d1de32f744561ba18e016689
BLAKE2b-256 1ae73a1a9108b2adf9c7bc218a55ec50a4be70c03c90d11a7eb56d5955db0153

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page