Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianwalborn/football-team-schedule-widget
Display your favorite NCAAF/NFL team's schedule on iOS using the Scriptable app
https://github.com/brianwalborn/football-team-schedule-widget
football javascript ncaaf nfl scriptable sports
Last synced: about 2 months ago
JSON representation
Display your favorite NCAAF/NFL team's schedule on iOS using the Scriptable app
- Host: GitHub
- URL: https://github.com/brianwalborn/football-team-schedule-widget
- Owner: brianwalborn
- Created: 2022-09-19T13:40:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T21:14:02.000Z (4 months ago)
- Last Synced: 2024-09-18T02:08:42.452Z (4 months ago)
- Topics: football, javascript, ncaaf, nfl, scriptable, sports
- Language: JavaScript
- Homepage:
- Size: 8.93 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-scriptable - nfl-team-schedule-widget - The current season schedule for an NFL team. (Sports)
README
# football-team-schedule-widget
Display any NCAAF/NFL team's schedule on iOS using the [Scriptable](https://scriptable.app/) app.
![scriptable01](img/scriptable01.png)
## Setup
1. Download the [Scriptable](https://scriptable.app/) app from the app store
2. Create a new script in the Scriptable app
3. Copy & paste the code from [ncaaf-script.js](https://raw.githubusercontent.com/brianwalborn/football-team-schedule-widget/main/ncaaf-script.js) or [nfl-script.js](https://raw.githubusercontent.com/brianwalborn/football-team-schedule-widget/main/nfl-script.js) into the newly created script
4. Create a new widget on your homescreen, select the newly created script, and pass in a valid team abbreviation.
- NCAAF: too many to list, and is much more forgiving than the NFL widget (for example: for Clemson both `clem` and `clemson` can be used, for Kentucky both `uk` and `kentucky` can be used, Ohio State is `ohiost`, Oregon State is `oregonst`, Oklahoma State is `okst`, so on and so forth)
- NFL: `ARI`, `ATL`, `BAL`, `BUF`, `CAR`, `CHI`, `CIN`, `CLE`, `DAL`, `DEN`, `DET`, `GB`, `HOU`, `IND`, `JAX`, `KC`, `LAR`, `LAC`, `LV`, `MIA`, `MIN`, `NE`, `NO`, `NYJ`, `NYG`, `PHI`, `PIT`, `SEA`, `SF`, `TB`, `TEN`, `WAS`## Caveats
- If you're unable to see your NCAA team's logo in the background (the schedule is showing but the background is a solid color) or if you simply want to try anothe team color, try replacing `const USE_TEAM_PRIMARY_COLOR_BACKGROUND = false` in the `ncaaf-script.js` with `const USE_TEAM_PRIMARY_COLOR_BACKGROUND = true`
![scriptable02](img/scriptable02.png)
![scriptable03](img/scriptable03.png)