top | item 42110832

(no title)

stoplight | 1 year ago

This is how I made a better version of the nhl.com site [1] that has a better UI (you can see scores/schedules much more easily), is mobile first, has no ads, and responsiveness built in. I did the same for the AHL [2], and the PWHL [3].

[1] https://nhl-remix.vercel.app/ [2] https://ahl-remix.vercel.app/ [3] https://pwhl-remix.vercel.app/

discuss

order

bluetidepro|1 year ago

Make one for the NFL, please! I can’t stand how hard it is to get scores on their website. Haha

Hackbraten|1 year ago

Funny you would mention that. A few weeks ago, I wrote a Python-based client library [0] for the website kicker.de [1]. It supports the NFL, too:

    import asyncio
    from kickerde_api_client import Api
    from kickerde_api_client.model import LeagueId

    api = Api()
    query = {'league': LeagueId.NFL, 'season': '2024/25'}
    season = asyncio.run(api.league_season(**query))
    
    print(season['longName'])             # 'National Football League'
    print(season['country']['longName'])  # 'USA'
    
    print([
        team['shortName']
        for team in season['teams'].values()
        if team['shortName'].startswith('B')
    ])                                    # ['Buffalo', 'Baltimore']
    
    day = season['gamedays'][18]
    print(str(day['dateFrom'].date()))    # '2025-01-05'
[0]: https://kickerde-api-client.readthedocs.io/en/stable/autoapi...

[1]: https://www.kicker.de/

TechDebtDevin|1 year ago

There's like a gazzillion alternative scoring sites. Googling the team name also works while they're playing, Google usually has a good feed.

12345hn6789|1 year ago

Poked around a bit. It's responsive and looks great on mobile. Kudos

kmoser|1 year ago

For a minute I thought PWHL was short for "pwn-NHL".