You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-21Lines changed: 27 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ Project dependencies can be viewed in the [`requirements.txt`](requirements.txt)
195
195
196
196
The Fantasy Football Metrics Weekly Report requires several sets of setup steps, depending on which platform(s) for which you will be running it. To get the application running locally, you will first need to complete the below setup.
197
197
198
-
_\* General setup **excludes**Google Drive and Slack integrations. See [Additional Integrations](#additional-integrations) for details on including those add-ons._
198
+
_\* General setup **excludes**third-party integrations. See [Additional Integrations](#additional-integrations) for details on including those add-ons._
199
199
200
200
---
201
201
@@ -452,15 +452,19 @@ CBS has a public API that was once documented, the last version of which can be
452
452
453
453
1. You should see the following prompts:
454
454
455
-
1. `Generate report for default league? (y/n) ->`.
455
+
1. `Generate report for default platform? (y/n) ->`
456
456
457
457
Type `y` and hit enter.
458
458
459
459
2. `Generate report for default week? (y/n) ->`.
460
460
461
461
Type `y` and hit enter.
462
462
463
-
3. <ins>**NOTE FOR YAHOO USERS ONLY**</ins>: The ***FIRST***time you run the app, you will see an `AUTHORIZATION URL` (if you followed the instructions in the [Yahoo Setup](#yahoo-setup) section).
463
+
3. `Generate report for default league? (y/n) ->`
464
+
465
+
Type `y` and hit enter.
466
+
467
+
4. <ins>**NOTE FOR YAHOO USERS ONLY**</ins>: The ***FIRST***time you run the app, you will see an `AUTHORIZATION URL` (if you followed the instructions in the [Yahoo Setup](#yahoo-setup) section).
464
468
465
469
1. Click the link (or copy and paste it into your web browser).
466
470
@@ -527,29 +531,31 @@ In addition to turning on/off the features of the report PDF itself, there are a
527
531
528
532
After completing the above setup and settings steps, you should now be able to simply run `docker exec -it fantasy-football-metrics-weekly-report_app_1 python main.py` to regenerate a report. The report generator script (`main.py`) also supports several command line options/arguments that allow you to specify the following:
|`-h`, `--help`| Display command line usage message |
533
-
|`-d`, `--use-default`| Automatically run the report using the default settings without user input prompts. |
534
-
|`-f`, `--fantasy-platform``<platform>`| Fantasy football platform on which league for report is hosted. |
535
-
|`-l`, `--league-id``<league_id>`| Fantasy Football league ID |
536
-
|`-w`, `--week``<week>`| Chosen week for which to generate report |
537
-
|`-g`, `--game-id``<game_id>`| Chosen fantasy game id for which to generate report. Defaults to "nfl", interpreted as the current season if using Yahoo. |
538
-
|`-y`, `--year``<year>`| Chosen year (season) of the league for which a report is being generated. |
539
-
|`-s`, `--save-data`| Save all retrieved data locally for faster future report generation |
540
-
|`-s`, `--refresh-web-data`| Refresh all web data from external APIs (such as bad boy and beef data) |
541
-
|`-p`, `--playoff-prob-sims``<int>`| Number of Monte Carlo playoff probability simulations to run." |
542
-
| `-b`, `--break-ties` | Break ties in metric rankings |
543
-
| `-q`, `--disqualify-ce` | Automatically disqualify teams ineligible for coaching efficiency metric |
544
-
| `-o`, `--offline` | Run ***OFFLINE*** (for development). Must have previously run report with -s option. |
545
-
| `-t`, `--test` | Generate TEST report (for development) |
|`-h`, `--help`| Display command line usage message |
537
+
|`-p`, `--fantasy-platform``<platform>`| Fantasy football platform on which league for report is hosted |
538
+
|`-l`, `--league-id``<league_id>`| Fantasy Football league ID |
539
+
|`-g`, `--yahoo-game-id``<yahoo_game_id>`| (Yahoo only) Chosen fantasy game id for which to generate report. Defaults to "nfl", which is interpreted as the current season on Yahoo |
540
+
|`-y`, `--year``<year>`| Chosen year (season) of the league for which a report is being generated |
541
+
|`-k`, `--start-week``<league_start_week>`| League start week (if league started later than week |
542
+
|`-w`, `--week``<week>`| Chosen week for which to generate report |
543
+
|`-d`, `--use-default`| Run the report using the default settings (in .env file) without user input |
544
+
|`-s`, `--save-data`| Save all fantasy league data for faster future report generation |
545
+
|`-r`, `--refresh-feature-web-data`| Refresh all feature web data |
546
+
|`-m`, `--playoff-prob-sims``<num_sims>`| Number of Monte Carlo playoff probability simulations to run |
547
+
|`-b`, `--break-ties`| Break ties in metric rankings |
548
+
|`-q`, `--disqualify-coaching-efficiency`| Automatically disqualify teams ineligible for coaching efficiency metric |
549
+
|`-o`, `--offline`| Run ***OFFLINE***for development (must have previously run report with -s option) |
550
+
|`-u`, `--skip-uploads `| Skip all integration uploads regardless of the configured settings |
551
+
|`-t`, `--test`| Generate TEST report |
546
552
547
553
#### NOTE: all command line arguments <ins>***OVERRIDE***</ins> any settings in the local .env file!
The above command runs the report with the following settings (which override anything setin the `.env` file):
@@ -573,7 +579,7 @@ The above command runs the report with the following settings (which override an
573
579
<a name="additional-integrations"></a>
574
580
### Additional Integrations
575
581
576
-
The Fantasy Football Metrics Weekly Report application also supports several additional integrations if you choose to utilize them. Currently, it is capable of uploading your generated reports to Google Drive, and also directly posting your generated reports to the Slack Messenger app.
582
+
The Fantasy Football Metrics Weekly Report application also supports several additional integrations if you choose to utilize them.
16. Open a pull request (PR) with the `release/vX.X.X` branch, allow GitHub actions to complete successfully, draft release notes, and merge it.
75
+
14. Open a pull request (PR) with the `release/vX.X.X` branch, allow GitHub actions to complete successfully, draft release notes, and merge it.
86
76
87
-
17. Go to the [FFMWR Releases page](https://github.com/uberfastman/fantasy-football-metrics-weekly-report/releases) and draft a new release using the above git tag.
77
+
15. Go to the [FFMWR Releases page](https://github.com/uberfastman/fantasy-football-metrics-weekly-report/releases) and draft a new release using the above git tag.
0 commit comments