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.
Features
- Query SBC Content: Retrieve SBC items: including name, price, expiration, challenges, and repeatable status.
- Query Evolutions Content: Retrieve Evolutions items including name, price, requirements, upgrades, expiration, levels, and the number of players involved.
- 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}] [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).
args:
[sbc.{options}, evolutions]
sbc.foundations Outputs list of SBC foundations
sbc.challenges Outputs list of SBC challenges
sbc.players Outputs list of SBC players
sbc.exchanges Outputs list of SBC exchanges
sbc.upgrades Outputs list of SBC upgrades
sbc.icons Outputs list of SBC icons
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 HTML content from https://www.fut.gg
- beautifulsoup4: For parsing HTML content and extracting data from web pages.
- 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
Release history Release notifications | RSS feed
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.1.2.tar.gz
(17.3 kB
view hashes)
Built Distribution
futcli-0.1.2-py3-none-any.whl
(18.5 kB
view hashes)