Skip to main content

A command-line interface tool for fetching FC Ultimate Team data (futgg scraper)

Project description

FC Ultimate Team CLI (futcli)

The futcli is a Python-based tool designed to provide users with quick access to FC Ulimate Team (FUT) contents such as SBCs and Evolutions.

pre-commit pypi version

Features

  • Query SBC Content: Retrieve SBC items: including name, price, expiration, challenges, and repeatable status. sbc-players-output.png
  • Query Evolutions Content: Retrieve Evolutions items including name, price, requirements, upgrades, expiration, levels, and the number of players involved. evolutions-output.png
  • JSON or Table Formats: Display data in either JSON or table formats for easy readability and/or consumability.
      ~ futcli -o json sbc.challenges
    [
        {
            "Name": "Daily Fantasy FC Challenge",
            "New": "no",
            "Price": "",
            "Expiration": "12 days",
            "Challenges": "1",
            "Repeatable": "1",
            "Refreshes": "24 hours"
        },
        {
            "Name": "Marquee Matchups",
            "New": "no",
            "Price": "",
            "Expiration": "4 days",
            "Challenges": "4",
            "Repeatable": "-",
            "Refreshes": "-"
        },
        {
            "Name": "UEFA Marquee Matchups",
            "New": "no",
            "Price": "",
            "Expiration": "1 day",
            "Challenges": "2",
            "Repeatable": "-",
            "Refreshes": "-"
        }
    ]
    

Installation

To install futcli, simply use pip:

pip install futcli

Usage

For more information about available options and usage, you can use the -h or --help:

  ~ futcli -h
usage: futcli [-h] [-o {table,json}] [--version] [sbc.{options}, evolutions] ...

options:
  -h, --help            show this help message and exit
  -o {table,json}, --output {table,json}
                        Choose the output format (table or json).
  --version             show program's version number and exit

args:
  [sbc.{options}, evolutions]
    sbc.challenges      Outputs list of SBC challenges
    sbc.foundations     Outputs list of SBC foundations
    sbc.icons           Outputs list of SBC icons
    sbc.players         Outputs list of SBC players
    sbc.swaps           Outputs list of SBC swaps
    sbc.upgrades        Outputs list of SBC upgrades
    sbc                 Outputs list of all SBC types
    evolutions          Outputs list of all active Evolutions

Dependencies

futcli relies on the following Python packages:

  • requests: For making HTTP requests and fetching data from https://www.fut.gg
  • tabulate: For formatting data into visually appealing tables in the terminal.

Contributing

Contributions to futcli are welcome! If you encounter any bugs, issues, or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License

futcli is licensed under the GNU General Public License v3.0.

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

futcli-0.2.0.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

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

futcli-0.2.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file futcli-0.2.0.tar.gz.

File metadata

  • Download URL: futcli-0.2.0.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for futcli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2206e1d32fd837dc03c3632c6e453a0ee45e76548733108d30b2d2904f860a35
MD5 f867d53996ee578c006fa20b6b1dc45f
BLAKE2b-256 b9a8709b36f51df5e7199134d7c45c9effe1042adb1c64b1961cfa52cfe65819

See more details on using hashes here.

File details

Details for the file futcli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: futcli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for futcli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc1ffb4a2db160a938357b048c55f9b5acc6c4444817209ad046d7081f99eaea
MD5 011c394da5b14f4ecb8876e33782a0cd
BLAKE2b-256 e6c16550c1151f7279994dea26f010d0942e43dfb1e84c42052a0b54be588c1a

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