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 from a wheel (if available):

pip install FlexbaseGFFT.whl

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: flexbasegfft-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 f315b9cb6945bb144a121e8eff606dcac03b5bb46a98e8c96b08199160706524
MD5 34fd8485df3fff64e3563abd0fa4e428
BLAKE2b-256 5d957fb5917bb24e875c6a03ae1e6b2b14da5d5d23b308fc16e134900bed0869

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flexbasegfft-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d69f58cbc4c270a4cc57d06806e43b1a293ca32baeb5222379a419e6c8d26da8
MD5 993ed8d81879301842c34ffd67b123c0
BLAKE2b-256 d4e8e53e3f89aa76e84c59e2b1a5b8f8d74f3ee8331949bb2d1fc7e084a3f86b

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