{"id":25287644,"url":"https://github.com/azmainadel/fpl-stat-gen","last_synced_at":"2025-04-06T17:15:29.699Z","repository":{"id":119868138,"uuid":"227606262","full_name":"azmainadel/fpl-stat-gen","owner":"azmainadel","description":"Generates customized data charts for FPL leagues","archived":false,"fork":false,"pushed_at":"2020-09-13T17:03:06.000Z","size":209,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T22:51:24.585Z","etag":null,"topics":["fpl-analysis","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azmainadel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-12T12:50:47.000Z","updated_at":"2021-03-03T04:10:31.000Z","dependencies_parsed_at":"2023-06-03T11:00:43.978Z","dependency_job_id":null,"html_url":"https://github.com/azmainadel/fpl-stat-gen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azmainadel%2Ffpl-stat-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azmainadel%2Ffpl-stat-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azmainadel%2Ffpl-stat-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azmainadel%2Ffpl-stat-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azmainadel","download_url":"https://codeload.github.com/azmainadel/fpl-stat-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517917,"owners_count":20951719,"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":["fpl-analysis","python"],"created_at":"2025-02-12T22:51:09.302Z","updated_at":"2025-04-06T17:15:29.693Z","avatar_url":"https://github.com/azmainadel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Prerequisites\n\n1. Python 3.4. Go to [Download Python 3.4.7](https://www.python.org/downloads/)\n\n2. `requests` and `tqdm` library. Run the following on your preferred terminal:\n\n```\npip3 install requests tqdm\n```\n\n3. Set Email, Password and League ID in the **python_script** folder.\n\n\n## Usage\n\nFor now, you can get 2 main things out of the python script:\n\n* Distribution of players that are being picked in a Gameweek\n* Distribution of players being captained in a Gameweek\n\n\n\n### 1. Get stats for a specific GW\n\nRun:\n\n```python3 python_script/getKoraFPLStat.py --gameweek 2 --type classic``` \n\nor \n\n```python3 python_script/getKoraFPLStat.py -g 2 -t classic```\n\nIf it does not work use `python` instead of `python3`\n\n### 2. Get all stats for every GW\n\nAdd execution permission to the bash scripts:\n```chmod +x getAll.sh```\n\nRun the command:\n\n```./getAll.sh```\n\n\n\n### 3. Get stats for the latest GW\n\nAdd execution permission to the bash scripts:\n```chmod +x getLastGW.sh```\n\nRun the command:\n\n```./getLastGW.sh```\n\n\n\n\u003e Please Note:\n **For first time usage, you have to put your password to validate the payload for getting all players' data. Replace the value of `LOGIN_PASSWORD` in getKoraFPLStat.py**\n*(It's not harmful, relax)*\n\n\u003e The outputs here are for Noibeddo FPL league.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazmainadel%2Ffpl-stat-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazmainadel%2Ffpl-stat-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazmainadel%2Ffpl-stat-gen/lists"}