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.0.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.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flexbasegfft-2.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 86390c70b5eb2ce799f32d8b7f9f8e52494df4fa581f87c9022aa5d4cc9bce87
MD5 eb8d84fadad1f412e359688f60d6e3da
BLAKE2b-256 5b4c9558278f3b70820fe968305e41d5c458f58c196757513aae520716d1455f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flexbasegfft-2.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68e6dd0ef9ea9471249f690c8b67dc607a6fd93b6d850b07f27cdcc9612de169
MD5 ce03b72062aae92d258500e419a00f43
BLAKE2b-256 edaec09daac95d76c6185f7b263bfa0d142d7eb32555b155dda69942c3204506

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