{"id":22371357,"url":"https://github.com/janerikcarlsen/fpl-cli","last_synced_at":"2025-08-25T00:32:04.332Z","repository":{"id":57432062,"uuid":"145897545","full_name":"janerikcarlsen/fpl-cli","owner":"janerikcarlsen","description":"Fantasy Premier League Command Line Interface (CLI) - FPL in your terminal","archived":false,"fork":false,"pushed_at":"2019-03-17T12:11:58.000Z","size":791,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-09T09:26:58.808Z","etag":null,"topics":["cli","command-line","fantasy-premier-league","football","fpl","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janerikcarlsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-23T19:22:06.000Z","updated_at":"2024-09-16T10:27:07.000Z","dependencies_parsed_at":"2022-09-19T08:02:06.870Z","dependency_job_id":null,"html_url":"https://github.com/janerikcarlsen/fpl-cli","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janerikcarlsen%2Ffpl-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janerikcarlsen%2Ffpl-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janerikcarlsen%2Ffpl-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janerikcarlsen%2Ffpl-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janerikcarlsen","download_url":"https://codeload.github.com/janerikcarlsen/fpl-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230852607,"owners_count":18290081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","fantasy-premier-league","football","fpl","python","python3"],"created_at":"2024-12-04T20:19:41.602Z","updated_at":"2024-12-22T15:54:50.791Z","avatar_url":"https://github.com/janerikcarlsen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/janerikcarlsen/fpl-cli.svg?branch=master)](https://travis-ci.org/janerikcarlsen/fpl-cli)\n[![Python Versions](https://img.shields.io/pypi/pyversions/fplcli.svg)](https://pypi.org/project/fplcli)\n[![Downloads](http://pepy.tech/badge/fplcli)](http://pepy.tech/project/fplcli)\n\n# fpl-cli\nfpl-cli is a command line tool for Fantasy Premier League, written in Python.\nThe tool gets its data from the official Fantasy Premier League API, and currently supports the following actions:  \n```\nfpl                     Returns help menu\nfpl configure           Set up team_id (required)\nfpl points              Returns live points for a team\nfpl leagues             Returns all leagues for a team entry\nfpl league \u003cid\u003e         Returns confirmed scores for a league by id\nfpl liveleague \u003cid\u003e     Returns live scores for a league by id\nfpl entry               Returns information about a team entry\nfpl players             Returns all players in the game, sorted by total score\n```\n\n# Installing \nfpl-cli has been tested with Python versions 2.7, 3.4, 3.5, 3.6 and 3.7 on Mac and Linux, and with 3.6 and 3.7 on Windows.\n\nIn a terminal window, verify that Python and pip is available:\n```\npython --version\npip --version\n``` \nIf no Python/pip version is found, [download Python and pip before proceeding](https://www.python.org/downloads/)\n```\npip install fplcli\n```\n\n# Using fpl-cli\n## Configure fpl-cli \nStart using fpl-cli by telling it your team_id. You can find your team_id by going to the Points tab at https://fantasy.premierleague.com and find the number in between `team/` and `event/` in the url.\n\n![fpl configure](https://raw.githubusercontent.com/janerikcarlsen/fpl-cli/master/docs/img/fpl_configure.png \"fpl configure\")\n\n## Get help \nGet an overview of the allowed actions by typing `fpl` or `fpl --help`\n\n![fpl help](https://raw.githubusercontent.com/janerikcarlsen/fpl-cli/master/docs/img/fpl_help.png  \"fpl help\")\n\n## Get current points total for team\nThe points total and player score is updated during games based on live score data, including provisional bonus points.\n\n![fpl points](https://raw.githubusercontent.com/janerikcarlsen/fpl-cli/master/docs/img/fpl_points.png \"fpl points\")\n\n## Get all leagues the team is member of\nReturns all leagues you participate in (Head 2 Head leagues not included yet)\n\n![fpl leagues](https://raw.githubusercontent.com/janerikcarlsen/fpl-cli/master/docs/img/fpl_leagues.png \"fpl leagues\")\n\n## Get live league standings\nReturns live league standings for a single league, where all teams score are updated in real time based on live score data. Shows live league rank, captain, gameweek score, chips played and transfer info\n\n![fpl liveleague](https://raw.githubusercontent.com/janerikcarlsen/fpl-cli/master/docs/img/fpl_liveleague.png \"fpl liveleague\")\n\n## Get league standings\nReturns confirmed league standings for a single league. You find the league_id in the leftmost `Id` column in the `fpl leagues` result\n\n![fpl league](https://raw.githubusercontent.com/janerikcarlsen/fpl-cli/master/docs/img/fpl_league.png \"fpl league\")\n\n# Planned features\n\n* Include H2H leagues in leagues view\n* Actions that require authentication with the FPL API (Making transfers, prepare team for next Gameweek)\n* Player sorting/filtering and enriched player staticstics\n* Cache API calls to improve response times\n\nIdeas for features or enhancements that you would like to see from fpl-cli are welcome. \nPlease post an [issue in the GitHub repository](https://github.com/janerikcarlsen/fpl-cli/issues), \nor even better, check out the [Contributing guidelines](https://github.com/janerikcarlsen/fpl-cli/blob/master/CONTRIBUTING.md \"CONTRIBUTING.md\") \nand submit a Pull Request with the suggested change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanerikcarlsen%2Ffpl-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanerikcarlsen%2Ffpl-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanerikcarlsen%2Ffpl-cli/lists"}