Skip to main content

Garena Free Fire JWT Token Generator & Version Update Module

Project description

🚀 FlexbaseGFFT

FlexbaseGFFT (Flexbase Garena Free Fire Token) is a fast and lightweight Python library for generating dynamic JWT tokens used in Garena Free Fire player sessions. It also includes a built-in updater that automatically retrieves the latest live game update information.

The library provides a simple synchronous API, making it easy to integrate into any Python project without using async/await.


✨ Features

  • 🚀 Fast & Lightweight

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

    • During bulk processing, live game update information is fetched only once and cached in memory, reducing unnecessary network requests.
  • 🛠️ Simple API

    • No async/await required.
    • Easy-to-use synchronous methods.
  • 🔐 Multiple Authentication Methods

    • UID + Password
    • Access Token
    • Access Token + Open ID
  • 📦 Automatic Dependency Installation

    • Required dependencies are installed automatically through pip.
  • 🔄 Live Game Updater

    • Retrieves the latest game version information automatically.

📋 Requirements

  • Python 3.10+
  • pip

📥 Installation

Clone the repository and install the package:

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

Or install directly :

pip install FlexbaseGFFT

🛠️ Usage

# -*- coding: utf-8 -*-

from FlexbaseGFFT import FFJTG, FFUpdater


def main():

    # Fetch live game update information
    print("[*] Fetching live game update information...")

    updater = FFUpdater()
    game_data = updater.info

    print("\n--- Game Update Information ---")
    print(f"VersionCode    : {game_data.get('VersionCode')}")
    print(f"ReleaseVersion : {game_data.get('ReleaseVersion')}")
    print(f"FromVersion    : {game_data.get('FromVersion')}")
    print(f"ToVersion      : {game_data.get('ToVersion')}")
    print(f"NextUpdateDate : {game_data.get('NextUpdateDate')}")
    print(f"Countdown      : {game_data.get('Countdown')}")
    print("-" * 35)

    bot = FFJTG()

    # ==========================================================
    # Method 1 : UID + Password
    # ==========================================================

    accounts = [
        {
            "uid": "4128642034",
            "pass": "71B464329BEB76CE5E4F6559F06513E2E0F170446D77E509CB847F315D7369C6"
        }
    ]

    for account in accounts:
        result = bot.uid_password(
            account["uid"],
            account["pass"]
        )

        print(result)

    # ==========================================================
    # Method 2 : Access Token
    # ==========================================================

    # result = bot.access_token(
    #     access_token="YOUR_ACCESS_TOKEN"
    # )
    #
    # print(result)

    # ==========================================================
    # Method 3 : Access Token + Open ID
    # ==========================================================

    # result = bot.access_token(
    #     access_token="YOUR_ACCESS_TOKEN",
    #     open_id="YOUR_OPEN_ID"
    # )
    #
    # print(result)


if __name__ == "__main__":
    main()

🔑 Authentication Methods

1️⃣ UID + Password

from FlexbaseGFFT import FFJTG

bot = FFJTG()

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

print(result)

2️⃣ Access Token

Open ID will be extracted automatically.

from FlexbaseGFFT import FFJTG

bot = FFJTG()

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

print(result)

3️⃣ Access Token + Open ID

Fastest authentication method.

from FlexbaseGFFT import FFJTG

bot = FFJTG()

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

print(result)

📊 Live Game Update

from FlexbaseGFFT import FFUpdater

updater = FFUpdater()

print(updater.info)

Example Output:

{
    "VersionCode": "2019119999",
    "ReleaseVersion": "OB50",
    "FromVersion": "OB49",
    "ToVersion": "OB50",
    "NextUpdateDate": "2026-08-20",
    "Countdown": "13 Days"
}

⚡ Performance

During bulk processing:

  • First request fetches live update information.
  • Remaining requests use cached data.
  • No repeated scraping.
  • Faster execution.
  • Lower network usage.

📂 Project Structure

FlexbaseGFFT/
│
├── FlexbaseGFFT/
│   ├── __init__.py
│   ├── FFJTG.py
│   ├── FFUpdater.py
│   └── utils.py
│
├── setup.py
├── pyproject.toml
├── requirements.txt
├── LICENSE
└── README.md

🤝 Community & Support

Stay updated with our latest projects, report bugs, or get support through our official Telegram channels.

  • 💝 Flexbase: @Flexbasei
  • 🌺 LORD MORPHEUS: @spideerio_yt
  • 💻 GitHub: @Flexbasei

⭐ Support

If you find this project useful, don't forget to give 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-1.0.1.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

flexbasegfft-1.0.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flexbasegfft-1.0.1.tar.gz
Algorithm Hash digest
SHA256 48ff7cf308d3c69bb56675bde948e9524baf31a8f03f39bb30a69bd1d1c96207
MD5 1d53c7ec1c76bf35abbdd52f8f01b4c3
BLAKE2b-256 5f0c58d3ca41f859e6c98ce4605d1b2cf28be60b603fa1a87eaf62152deda616

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flexbasegfft-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.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-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 175c0729cce4a225a8c1d1104d70f0b50386558106342a1bbad75f946a083c4a
MD5 46e9f611461b497388147975d37778c6
BLAKE2b-256 c9e485fb90a985d34664c70126570e0b02ab57e524dfbbb25f688eece7a54048

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