[PR #611] [MERGED] Support single-year season codes #694

Closed
opened 2026-03-02 15:59:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/probberechts/soccerdata/pull/611
Author: @probberechts
Created: 6/16/2024
Status: Merged
Merged: 6/16/2024
Merged by: @probberechts

Base: masterHead: feat/single-year-seasons


📝 Commits (1)

  • 11573e6 feat: support single-year season codes

📊 Changes

8 files changed (+417 additions, -252 deletions)

View changed files

📝 soccerdata/_common.py (+183 -46)
📝 soccerdata/_config.py (+11 -6)
📝 soccerdata/fbref.py (+10 -4)
📝 soccerdata/fotmob.py (+107 -104)
📝 soccerdata/sofascore.py (+67 -67)
📝 soccerdata/understat.py (+14 -5)
📝 soccerdata/whoscored.py (+3 -8)
📝 tests/test_common.py (+22 -12)

📄 Description

This commit adds support for single-year season codes (e.g,. 2023) that are used in leagues such as the MLS, in contrast to the multi-year season codes (e.g., 2023/24) typically used in European football.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/probberechts/soccerdata/pull/611 **Author:** [@probberechts](https://github.com/probberechts) **Created:** 6/16/2024 **Status:** ✅ Merged **Merged:** 6/16/2024 **Merged by:** [@probberechts](https://github.com/probberechts) **Base:** `master` ← **Head:** `feat/single-year-seasons` --- ### 📝 Commits (1) - [`11573e6`](https://github.com/probberechts/soccerdata/commit/11573e6af27a5a1f8737b639d4a6419fa6d39471) feat: support single-year season codes ### 📊 Changes **8 files changed** (+417 additions, -252 deletions) <details> <summary>View changed files</summary> 📝 `soccerdata/_common.py` (+183 -46) 📝 `soccerdata/_config.py` (+11 -6) 📝 `soccerdata/fbref.py` (+10 -4) 📝 `soccerdata/fotmob.py` (+107 -104) 📝 `soccerdata/sofascore.py` (+67 -67) 📝 `soccerdata/understat.py` (+14 -5) 📝 `soccerdata/whoscored.py` (+3 -8) 📝 `tests/test_common.py` (+22 -12) </details> ### 📄 Description This commit adds support for single-year season codes (e.g,. 2023) that are used in leagues such as the MLS, in contrast to the multi-year season codes (e.g., 2023/24) typically used in European football. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 15:59:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#694
No description provided.