It sounds like you want standings and not games. This is game tracker for scores. I would assume some simple ESPN JSON call would yield standings. Let me look.
Edit: ESPN Developer Center I/O Docs
Standings is one. You could easily create a single NFL standings sensor with like JQ and attributes.
Edit: I looked through some of the APIs, one could do it but I could not find a single API call to return a single JSON with all the data for NFL. It could be done with a sensor per team and get you all the information you would want.
Like this is for Bills I believe (team 2):
OR. You could just use a scrape sensor and grab this: 2022 NFL Standings | ESPN and create what you want from that. I could not find a single API call that would give the information for that table
Edit again!
OK, after some digging I found this:
This can easily to used to create one sensor with standings if this is what you want. I suggest drawing a picture of what you what. One sensor should be fine with one attribute which contains a streamlined JSON of the stats.
The whole thing returns AFC/NFC, then divisions and teams … standings in order and lots of other stats.
So you could create this as a sensor:
- platform: rest
name: NFL Standings
resource: https://site.web.api.espn.com/apis/v2/sports/football/nfl/standings?region=us&lang=en&contentorigin=espn&type=0&level=3&sort=winpercent%3Adesc%2Cplayoffseed%3Aasc
value_template: "{{ now() }}"
json_attributes:
- children
WIthout any JQ filering and you have the entire league stats.