Skip to content

Commit 594990b

Browse files
committed
feat[leagues]: added several CONCACAF, AFC & CAF cups
1 parent afcff15 commit 594990b

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111
- **Italian Serie B** - Added support for Italian Serie B (second division)
1212
- **Finalissima** - Added support for CONMEBOL-UEFA Cup of Champions
13+
- **CONCACAF Competitions** - Added support for CONCACAF Champions Cup, Gold Cup, and Nations League
14+
- **AFC Champions League Elite** - Added support for the premier Asian club competition
15+
- **CAF Champions League** - Added support for the premier African club competition
1316

1417
### Changed
1518

docs/SUPPORTED_LEAGUES.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,11 @@ Golazo supports **65+ leagues and competitions**. Customize your selection in Se
103103

104104
## North America
105105

106-
| | League |
107-
|---|--------|
106+
| | League/Competition |
107+
|---|-------------------|
108+
| 🏆 | CONCACAF Champions Cup |
109+
| 🏆 | CONCACAF Gold Cup |
110+
| 🏆 | CONCACAF Nations League |
108111
| 🇲🇽 | Liga MX |
109112
| 🇺🇸 | MLS |
110113
| 🇺🇸 | NWSL |
@@ -117,8 +120,9 @@ Golazo supports **65+ leagues and competitions**. Customize your selection in Se
117120

118121
## Asia
119122

120-
| | League |
121-
|---|--------|
123+
| | League/Competition |
124+
|---|-------------------|
125+
| 🏆 | AFC Champions League Elite |
122126
| 🇨🇳 | Chinese Super League |
123127
| 🇮🇳 | Indian Super League |
124128
| 🇯🇵 | J. League |
@@ -133,8 +137,9 @@ Golazo supports **65+ leagues and competitions**. Customize your selection in Se
133137

134138
## Africa
135139

136-
| | League |
137-
|---|--------|
140+
| | League/Competition |
141+
|---|-------------------|
142+
| 🏆 | CAF Champions League |
138143
| 🇲🇦 | Botola Pro |
139144
| 🇪🇬 | Egyptian Premier League |
140145
| 🇿🇦 | Premier Soccer League |

internal/data/settings.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ var AllSupportedLeagues = map[string][]LeagueInfo{
8888
{ID: 188, Name: "Supertaça Cândido de Oliveira", Country: "Portugal"},
8989
},
9090
RegionAmerica: {
91+
// North America Competitions
92+
{ID: 297, Name: "CONCACAF Champions Cup", Country: "North America"},
93+
{ID: 298, Name: "CONCACAF Gold Cup", Country: "North America"},
94+
{ID: 9821, Name: "CONCACAF Nations League", Country: "North America"},
9195
// South America
9296
{ID: 268, Name: "Brasileirão Série A", Country: "Brazil"},
9397
{ID: 8814, Name: "Brasileirão Série B", Country: "Brazil"},
@@ -118,6 +122,7 @@ var AllSupportedLeagues = map[string][]LeagueInfo{
118122
// Middle East
119123
{ID: 536, Name: "Saudi Pro League", Country: "Saudi Arabia"},
120124
// Asia
125+
{ID: 525, Name: "AFC Champions League Elite", Country: "Asia"},
121126
{ID: 9478, Name: "Indian Super League", Country: "India"},
122127
{ID: 223, Name: "J. League", Country: "Japan"},
123128
{ID: 9080, Name: "K League 1", Country: "South Korea"},
@@ -126,6 +131,7 @@ var AllSupportedLeagues = map[string][]LeagueInfo{
126131
// Oceania
127132
{ID: 113, Name: "A-League", Country: "Australia"},
128133
// Africa
134+
{ID: 526, Name: "CAF Champions League", Country: "Africa"},
129135
{ID: 519, Name: "Egyptian Premier League", Country: "Egypt"},
130136
{ID: 537, Name: "Premier Soccer League", Country: "South Africa"},
131137
{ID: 530, Name: "Botola Pro", Country: "Morocco"},

0 commit comments

Comments
 (0)