leagues 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c3e154b72da0c4677b811ac922b37fee501f25cb28aa57dbbba608a0bd2787ff
4
+ data.tar.gz: be12dab4eceae8bcf4f375baf1680917257b1c0ccd1849004eb9357be0200b33
5
+ SHA512:
6
+ metadata.gz: 20fd53b2c9c5bbeed88ba3148cb7b6e2f92af0fb8aa6c0c5e6e9e6b8e648ba44b16dffbe33f09eb7b5cab331b258d2e94f4aeed5727cb6c5b184847208add4a9
7
+ data.tar.gz: afcc3bed4307de477823689ba1d255e63815cddaa7ff5062dac7ca2a2a07cc21b049bc8c92ffe4a7a0694cfd122fd9eff8e06a308e122d6e8db704f6631f8a92
data/CHANGELOG.md ADDED
@@ -0,0 +1,6 @@
1
+ ### 0.1.0
2
+
3
+ ### 0.0.1 / 2025-04-01
4
+
5
+ * Everything is new. First release.
6
+
data/Manifest.txt ADDED
@@ -0,0 +1,19 @@
1
+ CHANGELOG.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ config/codes_alt.csv
6
+ config/leagues.csv
7
+ config/leagues_more.csv
8
+ config/timezones_africa.csv
9
+ config/timezones_america.csv
10
+ config/timezones_asia.csv
11
+ config/timezones_europe.csv
12
+ config/timezones_middle_east.csv
13
+ config/timezones_pacific.csv
14
+ config/timezones_world.csv
15
+ lib/leagues.rb
16
+ lib/leagues/league_codes.rb
17
+ lib/leagues/leagueset.rb
18
+ lib/leagues/timezones.rb
19
+ lib/leagues/version.rb
data/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # leagues - football leagues & timezone helpers
2
+
3
+
4
+ * home :: [github.com/sportdb/sport.db](https://github.com/sportdb/sport.db)
5
+ * bugs :: [github.com/sportdb/sport.db/issues](https://github.com/sportdb/sport.db/issues)
6
+ * gem :: [rubygems.org/gems/leagues](https://rubygems.org/gems/leagues)
7
+ * rdoc :: [rubydoc.info/gems/leagues](http://rubydoc.info/gems/leagues)
8
+
9
+
10
+
11
+ ## Usage
12
+
13
+ ...
14
+
15
+
16
+ ## License
17
+
18
+ The `leagues` scripts are dedicated to the public domain.
19
+ Use it as you please with no restrictions whatsoever.
20
+
21
+
22
+ ## Questions? Comments?
23
+
24
+ Yes, you can. More than welcome.
25
+ See [Help & Support »](https://github.com/openfootball/help)
data/Rakefile ADDED
@@ -0,0 +1,32 @@
1
+ require 'hoe'
2
+ require './lib/leagues/version.rb'
3
+
4
+ Hoe.spec 'leagues' do
5
+
6
+ self.version = SportDb::Module::Leagues::VERSION
7
+
8
+ self.summary = "leagues - football leagues & timezone helpers"
9
+ self.description = summary
10
+
11
+ self.urls = { home: 'https://github.com/sportdb/sport.db' }
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'gerald.bauer@gmail.com'
15
+
16
+ # switch extension to .markdown for gihub formatting
17
+ self.readme_file = 'README.md'
18
+ self.history_file = 'CHANGELOG.md'
19
+
20
+ self.extra_deps = [
21
+ ['tzinfo'],
22
+ ['season-formats'],
23
+ ['cocos'],
24
+ ]
25
+
26
+ self.licenses = ['Public Domain']
27
+
28
+ self.spec_extras = {
29
+ required_ruby_version: '>= 3.1.0'
30
+ }
31
+
32
+ end
@@ -0,0 +1,61 @@
1
+ code,alt,start_season,end_season,comments
2
+
3
+ ###
4
+ ## alt(ernate) codes for canonical league codess
5
+ ## e.g. aut.bl => at.1 etc.
6
+ ##
7
+ ## note - add optional start/end season - why? why not?
8
+ ##
9
+
10
+ at.1, aut.bl,,, ## Bundesliga
11
+ at.2, aut.2,,,
12
+ at.3.o, aut.rlo,,, ## Regionalliga Ost
13
+
14
+ ch.1, sui.sl,,, ## Super League
15
+
16
+
17
+ de.1, ger.bl,,, ## Bundesliga
18
+ de.2, ger.2,,,
19
+ de.3, ger.3,,,
20
+
21
+ es.1, esp.1,,,
22
+ es.2, esp.2,,,
23
+
24
+ it.1, ita.a,,, ## Serie A
25
+ it.2, ita.b,,, ## Serie B
26
+ it.3.a, ita.c1a,,,
27
+ it.3.b, ita.c1b,,,
28
+
29
+
30
+ fr.1, fra.1,,,
31
+ fr.2, fra.2,,,
32
+
33
+ sco.1, sco.ps,,, ## Premiership
34
+ eng.2, eng.cs,,, ## Championship
35
+ eng.fa.cup, eng.fa,,, ## FA Cup
36
+ ### note - CANNOT use eng.1 for Ligue 1 or eng.2 for Ligue 2
37
+ ## eng.1 and eng.2 are canonical tier codes 1|2|3 etc.
38
+
39
+ be.1, bel.1,,,
40
+
41
+ pt.1, por.1,,,
42
+ pt.2, por.2,,,
43
+
44
+ pl.1, pol.1,,,
45
+ pl.2, pol.2,,,
46
+
47
+ cy.1, cyp.1,,,
48
+ gr.1, gre.1,,,
49
+ tr.1, tur.1,,,
50
+ tr.2, tur.2,,,
51
+
52
+ dk.1, den.1,,,
53
+ no.2, nor.2,,,
54
+ se.1, swe.1,,,
55
+ se.2, swe.2,,,
56
+
57
+ il.1, isr.1,,,
58
+ ro.1, rou.1,,,
59
+
60
+ br.1, bra.1,,,
61
+
@@ -0,0 +1,423 @@
1
+ code,name,basename,start_season,end_season
2
+ caf.cl,CAF Champions League,cl,,
3
+ caf.conf,CAF Confederations Cup,cafconfederationscup,,
4
+ afl,African Football League,afl,,
5
+ eg.1,Egypt Premiership,1-premiership,,
6
+ eg.cup,Egypt Cup,cup,,
7
+ eg.super,Egypt Supercup,supercup,,
8
+ tn.1,Tunisia Ligue 1,ligue1,,
9
+ ma.1,Morocco Botola,1-botola,,
10
+ dz.1,Algeria Ligue 1,1-ligue1,,
11
+ za.1,South Africa Premier League,premierleague,,
12
+ za.2,South Africa National First Division,nationalfirstdivision,,
13
+ za.cup,South Africa Cup,cup,,
14
+ za.cup.l,South Africa Knockout,knockout,,
15
+ ng.1,Nigeria Professional League,professionalleague,,
16
+ ke.1,Kenya Premier League,premierleague,,
17
+ zm.1,Zambia Super League,superleague,,
18
+ gh.1,Ghana Premier League,premierleague,,
19
+ ug.1,Uganda Super League,superleague,,
20
+ zw.1,Zimbabwe Premier Soccer League,premiersoccerleague,,
21
+ bi.1,Burundi 1. Liga,1liga,,
22
+ ao.1,Angola Girabola,girabola,,
23
+ tz.1,Tanzania Premier League,premierleague,,
24
+ mu.1,Mauritius Premier League,premierleague,,
25
+ mu.cup,Mauritius Cup,cup,,
26
+ mu.cup.rep,Mauritius Republic Cup,republiccup,,
27
+ asia.cl,AFC Champions League,afcchampionsleague,,
28
+ asia.cup,AFC Cup,afccup,,
29
+ jp.1,Japan J. League,1-jleague,,
30
+ jp.2,Japan J. League 2,jleague2,,
31
+ jp.cup,Japan Emperor's Cup,emperorscup,,
32
+ jp.cup.l,Japan J. League Cup,jleaguecup,,
33
+ kr.1,South Korea K-League,kleague,,
34
+ kr.2,South Korea K-League 2,kleague2,,
35
+ kr.cup,South Korea Cup,cup,,
36
+ sg.1,Singapore Premier League,premierleague,,
37
+ th.1,Thailand Premier League,premierleague,,
38
+ my.1,Malaysia Super League,superleague,,
39
+ mm.1,Myanmar National League,nationalleague,,
40
+ id.1,Indonesia Super League,superleague,,
41
+ in.1.i,India I-League,ileague,,
42
+ in.1.ii,India Super League,superleague,,
43
+ tw.1,Taiwan Premier League,premierleague,,
44
+ cn.1,China Super League,1-superleague,,
45
+ kz.1,Kazakhstan Premier League A,1-premierleague,,
46
+ tm.1,Turkmenistan 1. Liga,1liga,,
47
+ uz.1,Uzbekistan Super League,superleague,,
48
+ tj.1,Tajikistan Higher League,higherleague,,
49
+ tj.super,Tajikistan Super Cup,supercup,,
50
+ vn.1,Vietnam V. League 1,vleague1,,
51
+ vn.cup,Vietnam Cup,cup,,
52
+ jm.1,Jamaica Premier League,premierleague,,
53
+ cr.1,Costa Rica Primera División,primeradivision,,
54
+ cr.2,Costa Rica Segunda División,segundadivision,,
55
+ hn.1,Honduras Primera División,primeradivision,,
56
+ sv.1,El Salvador Primera División,primeradivision,,
57
+ gt.1,Guatemala Liga Nacional,liganacional,,
58
+ ni.1,Nicaragua Primera División,primeradivision,,
59
+ at.1,Österr. Bundesliga,1-bundesliga,,
60
+ at.2,Österr. 2. Liga,2-liga2,2018/19,
61
+ at.2,Österr. Erste Liga,2-liga1,,2017/18
62
+ at.3.o,Österr. Regionalliga Ost,3-regionalliga-ost,,
63
+ at.3.m,Österr. Regionalliga Mitte,3-regionalliga-mitte,,
64
+ at.3.sbg,Österr. Regionalliga Salzburg,regionalligasalzburg,,
65
+ at.3.t,Österr. Regionalliga Tirol,regionalligatirol,,
66
+ at.3.v,Österr. Regionalliga Vorarlberg,regionalligavorarlberg,,
67
+ at.3.w,Österr. Regionalliga West,regionalligawest,,
68
+ at.cup,ÖFB Cup,cup,,
69
+ at.4.ost.w,Österr. Wiener Stadtliga,wienerstadtliga,,
70
+ at.4.ost.n,Österr. Landesliga Niederösterreich,landesliganiederosterreich,,
71
+ at.4.ost.b,Österr. Landesliga Burgenland,landesligaburgenland,,
72
+ at.4.mitte.st,Österr. Steirische Landesliga,steirischelandesliga,,
73
+ at.4.mitte.o,Österr. Landesliga Oberösterreich,landesligaoberosterreich,,
74
+ at.4.mitte.k,Österr. Kärtner Liga,kartnerliga,,
75
+ at.4.west.s,Österr. Salzburger Liga,salzburgerliga,,
76
+ at.4.west.t,Österr. Tiroler Liga,tirolerliga,,
77
+ at.4.west.v,Österr. Vorarlberg Liga,vorarlbergliga,,
78
+ at.5.n.ost,Österr. 2. Landesliga Ost (NÖ),2landesligaostno,,
79
+ at.5.n.west,Österr. 2. Landesliga West (NÖ),2landesligawestno,,
80
+ at.6.n.ost.sso,Österr. Gebietsliga Süd/Südost (NÖ),gebietsligasudsudostno,,
81
+ at.6.n.ost.nnw,Österr. Gebietsliga Nord/Nordwest (NÖ),gebietsliganordnordwestno,,
82
+ at.6.n.west.w,Österr. Gebietsliga West (NÖ),gebietsligawestno,,
83
+ at.6.n.west.nww,Österr. Gebietsliga Nordwest/Waldviertel (NÖ),gebietsliganordwestwaldviertelno,,
84
+ at.7.n.ost.sso.s,Österr. 1. Klasse Süd (NÖ),1klassesudno,,
85
+ at.7.n.ost.sso.o,Österr. 1. Klasse Ost (NÖ),1klasseostno,,
86
+ at.7.n.ost.nnw.n,Österr. 1. Klasse Nord (NÖ),1klassenordno,,
87
+ at.7.n.ost.nnw.nw,Österr. 1. Klasse Nordwest (NÖ),1klassenordwestno,,
88
+ at.7.n.west.w.w,Österr. 1. Klasse West (NÖ),1klassewestno,,
89
+ at.7.n.west.w.wm,Österr. 1. Klasse West-Mitte (NÖ),1klassewestmitteno,,
90
+ at.7.n.west.nww.nwm,Österr. 1. Klasse Nordwest-Mitte (NÖ),1klassenordwestmitteno,,
91
+ at.7.n.west.nww.w,Österr. 1. Klasse Waldviertel (NÖ),1klassewaldviertelno,,
92
+ at.8.n.steinfeld,Österr. 2. Klasse Steinfeld (NÖ),2klassesteinfeldno,,
93
+ at.8.n.wechsel,Österr. 2. Klasse Wechsel (NÖ),2klassewechselno,,
94
+ at.8.n.triestingtal,Österr. 2. Klasse Triestingtal (NÖ),2klassetriestingtalno,,
95
+ at.8.n.ostmitte,Österr. 2. Klasse Ost/Mitte (NÖ),2klasseostmitteno,,
96
+ at.8.n.ost,Österr. 2. Klasse Ost (NÖ),2klasseostno,,
97
+ at.8.n.weinviertel.n,Österr. 2. Klasse Weinviertel Nord (NÖ),2klasseweinviertelnordno,,
98
+ at.8.n.weinviertel.s,Österr. 2. Klasse Weinviertel Süd (NÖ),2klasseweinviertelsudno,,
99
+ at.8.n.marchfeld,Österr. 2. Klasse Marchfeld (NÖ),2klassemarchfeldno,,
100
+ at.8.n.donau,Österr. 2. Klasse Donau (NÖ),2klassedonauno,,
101
+ at.8.n.pulkautal,Österr. 2. Klasse Pulkautal (NÖ),2klassepulkautalno,,
102
+ at.8.n.ybbstal,Österr. 2. Klasse Ybbstal (NÖ),2klasseybbstalno,,
103
+ at.8.n.yspertal,Österr. 2. Klasse Yspertal (NÖ),2klasseyspertalno,,
104
+ at.8.n.alpenvorland,Österr. 2. Klasse Alpenvorland (NÖ),2klassealpenvorlandno,,
105
+ at.8.n.traisental,Österr. 2. Klasse Traisental (NÖ),2klassetraisentalno,,
106
+ at.8.n.wachau,Österr. 2. Klasse Wachau (NÖ),2klassewachauno,,
107
+ at.8.n.schmidatal,Österr. 2. Klasse Schmidatal (NÖ),2klasseschmidatalno,,
108
+ at.8.n.waldviertelthayatal,Österr. 2. Klasse Waldviertel Thayatal (NÖ),2klassewaldviertelthayatalno,,
109
+ at.8.n.waldviertel.s,Österr. 2. Klasse Waldviertel/Süd (NÖ),2klassewaldviertelsudno,,
110
+ at.9.n.hornerwald,Österr. 3. Klasse Hornerwald (NÖ),3klassehornerwaldno,,
111
+ at.9.n.mistelbach,Österr. 3. Klasse Mistelbach (NÖ),3klassemistelbachno,,
112
+ eng.2,English Championship,2-championship,2004/05,
113
+ eng.2,English Division One,2-division1,1992/93,2003/04
114
+ eng.1,English Division One,1-division1,1892/93,1991/92
115
+ eng.1,English Football League,1-footballleague,1888/89,1891/92
116
+ eng.3,English League One,3-league1,2004/05,
117
+ eng.3,English Division Two,3-division2,1992/93,2003/04
118
+ eng.2,English Division Two,2-division2,1892/93,1991/92
119
+ eng.4,English League Two,4-league2,2004/05,
120
+ eng.4,English Division Three,4-division3,1992/93,2003/04
121
+ eng.3,English Division Three,3-division3,,1991/92
122
+ eng.1,English Premier League,1-premierleague,1992/93,
123
+ eng.5,English National League,5-nationalleague,1992/93,
124
+ eng.3.a,English Division Three (North),3a-division3_north,,
125
+ eng.3.b,English Division Three (South),3b-division3_south,,
126
+ eng.cup,English FA Cup,facup,,
127
+ eng.super,English FA Community Shield,facommunityshield,,
128
+ eng.cup.l,English EFL Cup,eflcup,,
129
+ eng.cup.t,English EFL Trophy,efltrophy,,
130
+ eng.cup.t.ii,English FA Trophy,fatrophy,,
131
+ de.1,Deutsche Bundesliga,1-bundesliga,,
132
+ de.2,Deutsche 2. Bundesliga,2-bundesliga2,,
133
+ de.3,Deutsche 3. Liga,3-liga3,,
134
+ de.cup,DFB Pokal,cup,,
135
+ de.super,Deutsche Supercup,super,,
136
+ de.4.nord,Deutsche Regionalliga Nord,4-regionalliga-nord,,
137
+ de.4.nordost,Deutsche Regionalliga Nordost,4-regionalliga-nordost,,
138
+ de.4.west,Deutsche Regionalliga West,4-regionalliga-west,,
139
+ de.4.suedwest,Deutsche Regionalliga Südwest,4-regionalliga-suedwest,,
140
+ de.4.bayern,Deutsche Regionalliga Bayern,4-regionalliga-bayern,,
141
+ de.5.nord.sh,Deutsche Schleswig-Holstein-Liga,schleswigholsteinliga,,
142
+ de.5.nord.hh,Deutsche Oberliga Hamburg,oberligahamburg,,
143
+ de.5.nord.hb,Deutsche Bremen-Liga,bremenliga,,
144
+ de.5.nord.ni,Deutsche Oberliga Niedersachsen,oberliganiedersachsen,,
145
+ de.5.nordost.n,Deutsche Oberliga Nordost (Nord),oberliganordostnord,,
146
+ de.5.nordost.s,Deutsche Oberliga Nordost (Süd),oberliganordostsud,,
147
+ de.5.west.niederrhein,Deutsche Oberliga Niederrhein,oberliganiederrhein,,
148
+ de.5.west.mittelrhein,Deutsche Mittelrheinliga,mittelrheinliga,,
149
+ de.5.west.westfalen,Deutsche Oberliga Westfalen,oberligawestfalen,,
150
+ de.5.suedwest.rp.sl,Deutsche Oberliga Rheinland-Pfalz/Saar,oberligarheinlandpfalzsaar,,
151
+ de.5.suedwest.he,Deutsche Hessenliga,hessenliga,,
152
+ de.5.suedwest.bw,Deutsche Oberliga Baden-Württemberg,oberligabadenwurttemberg,,
153
+ de.5.by.n,Deutsche Bayernliga (Nord),bayernliganord,,
154
+ de.5.by.s,Deutsche Bayernliga (Süd),bayernligasud,,
155
+ uefa.cl,UEFA Champions League,cl,1992/93,
156
+ uefa.cl.quali,UEFA Champions League - Quali,uefachampionsleaguequali,1992/93,
157
+ euro.champs,European Champion Clubs' Cup,champs,1955/56,1991/92
158
+ euro.cup,European Cup Winners' Cup,cupwinners,1960/61,1998/99
159
+ uefa.el,UEFA Europa League,el,2009/10,
160
+ uefa.el.quali,UEFA Europa League - Quali,uefaeuropaleaguequali,2009/10,
161
+ uefa.cup,UEFA Cup,cup,1971/72,2008/09
162
+ uefa.conf,UEFA Conference League,conf,2021/22,
163
+ uefa.conf.quali,UEFA Conference League - Quali,uefaconferenceleaguequali,2021/22,
164
+ uefa.super,UEFA Super Cup,super,1972,
165
+ atl.cup,Atlantic Cup,atlanticcup,,
166
+ czsk.super,Czechoslovak Supercup,czechoslovaksupercup,,
167
+ sco.1,Scottish Premiership,1-premiership,,
168
+ sco.2,Scottish Championship,championship,,
169
+ sco.3,Scottish League One,leagueone,,
170
+ sco.4,Scottish League Two,leaguetwo,,
171
+ sco.cup.l,Scottish League Cup,leaguecup,,
172
+ sco.cup.fa,Scottish FA Cup,facup,,
173
+ sco.cup.cc,Scottish Challenge Cup,challengecup,,
174
+ wal.1,Welsh Premier League,1-premierleague,,
175
+ nir.1,Northern Irish Premiership,1-premiership,,
176
+ nir.2,Northern Irish Championship,championship,,
177
+ nir.cup.l,Northern Irish League Cup,leaguecup,,
178
+ nir.cup,Northern Irish Irish Cup,irishcup,,
179
+ nir.super,Northern Irish NIFL Charity Shield,niflcharityshield,,
180
+ ie.1,Irish Premier Division,1-premierdivision,,
181
+ ie.2,Irish First Division,firstdivision,,
182
+ ie.cup.l,Irish League Cup,leaguecup,,
183
+ ie.super,Irish Supercup,supercup,,
184
+ ie.cup,Irish FAI Cup,faicup,,
185
+ is.1,Iceland Urvalsdeild,1-urvalsdeild,,
186
+ is.2,Iceland 1. Deild,1deild,,
187
+ is.3,Iceland 2. Delid,2delid,,
188
+ is.cup,Iceland Cup,cup,,
189
+ is.cup.l,Iceland League Cup,leaguecup,,
190
+ is.super,Iceland Super Cup,supercup,,
191
+ fo.1,Faroe Islands Premier Division,1-premierdivision,,
192
+ es.1,Primera División de España,1-liga,,
193
+ es.2,Segunda División de España,2-liga2,,
194
+ es.3,Spain Segunda División B,segundadivisionb,,
195
+ es.cup,Copa del Rey de España,cup,,
196
+ es.super,Spain Supercopa,supercopa,,
197
+ pt.1,Portuguese Primeira Liga,1-primeiraliga,,
198
+ pt.2,Portuguese Segunda Liga,2-segundaliga,,
199
+ pt.cup,Portuguese Taça de Portugal,tacadeportugal,,
200
+ pt.cup.l,Portuguese Taça da Liga,tacadaliga,,
201
+ pt.super,Portuguese Supercup,supercup,,
202
+ gi.1,Gibraltar Premier League A,1-premierleague,,
203
+ ad.1,Andorra Premier Division,1-premierdisvision,,
204
+ fr.1,French Ligue 1,1-ligue1,,
205
+ fr.2,French Ligue 2,2-ligue2,,
206
+ fr.3,French National,national,,
207
+ fr.cup,French Coupe de France,cup,,
208
+ fr.cup.l,French Coupe de la Ligue,coupedelaligue,,
209
+ fr.super,French Trophée des Champions,tropheedeschampions,,
210
+ it.1,Italian Serie A,1-seriea,,
211
+ it.2,Italian Serie B,2-serieb,,
212
+ it.3.a,Italian Serie C (North & Central West),3-seriec_a,,
213
+ it.3.b,Italian Serie C (North & Central East),3-seriec_b,,
214
+ it.3.c,Italian Serie C (South),3-seriec_c,,
215
+ it.cup,Coppa Italia,cup,,
216
+ it.cup.c,Italian Coppa Italia Serie C,coppaitaliaseriec,,
217
+ it.super,Italian Supercoppa Italiana,supercoppaitaliana,,
218
+ sm.1,San Marinese Championship,1-championship,,
219
+ tr.1,Turkish Süper Lig,1-superlig,,
220
+ tr.2,Turkish 1. Lig,2-lig1,,
221
+ tr.3.b,Turkish 2. Lig - Beya,2ligbeya,,
222
+ tr.3.ki,Turkish 2. Lig - Kirmizi,2ligkirmizi,,
223
+ tr.3.playoffs,Turkish 2. Lig - Play Offs,2ligplayoffs,,
224
+ tr.cup,Türkiye Kupasi,turkiyekupasi,,
225
+ tr.super,Turkish Süper Kupa,superkupa,,
226
+ gr.1,Greek Super League,1-superleague,,
227
+ gr.2,Greek Super League 2,superleague2,,
228
+ gr.cup,Greek Greek Cup,greekcup,,
229
+ cy.1,Cyprus First Division,1-firstdivision,,
230
+ cy.cup,Cyprus Cypriot Cup,cypriotcup,,
231
+ mt.1,Malta Premier League,1-premierleague,,
232
+ mt.cup,Malta Cup,cup,,
233
+ dk.1,Denmark Superligaen,1-superligaen,,
234
+ dk.2,Denmark 1. Division,1division,,
235
+ dk.cup,Denmark Landspokalturneringen,landspokalturneringen,,
236
+ no.1,Norway Eliteserien,1-eliteserien,,
237
+ no.2,Norway 1. Division,1division,,
238
+ no.3,Norway 2. Division,2division,,
239
+ no.cup,Norway Norwegian Football Cup,norwegianfootballcup,,
240
+ se.1,Sweden Allsvenskan,1-allsvenskan,,
241
+ se.2,Sweden Superettan,2-superettan,,
242
+ se.3.s,Sweden Div 1 Södra,div1sodra,,
243
+ se.3.n,Sweden Div 1 Norra,div1norra,,
244
+ se.cup,Sweden Cup,cup,,
245
+ fi.1,Finland Veikkausliiga,1-veikkausliiga,,
246
+ fi.2,Finland Ykkonen,ykkonen,,
247
+ fi.3,Finland Kakkonen,kakkonen,,
248
+ fi.4.a,Finland Kakkonen Group A,kakkonengroupa,,
249
+ fi.cup,Finland Cup,cup,,
250
+ nl.1,Netherlands Eredivisie,1-eredivisie,,
251
+ nl.1.comeback,Netherlands Eredivisie Comeback Tournament,eredivisiecomebacktournament,,
252
+ nl.2,Netherlands Eerste Divisie,eerstedivisie,,
253
+ nl.cup,Netherlands Cup,cup,,
254
+ nl.super,Netherlands Johan Cruijff Schaal,johancruijffschaal,,
255
+ nl.po,Netherlands Promotion/Relegation Playoffs,promotionrelegationplayoffs,,
256
+ be.1,Belgium First Division A,1-firstdivisiona,,
257
+ be.2,Belgium First Division B,firstdivisionb,,
258
+ be.cup,Beker van Belgie,bekervanbelgie,,
259
+ be.super,Belgium Supercup,supercup,,
260
+ lu.1,Luxembourg National Division,1-nationaldivision,,
261
+ pl.1,Poland Ekstraklasa,1-ekstraklasa,,
262
+ pl.2,Poland I Liga,iliga,,
263
+ pl.3,Poland II Liga,iiliga,,
264
+ pl.cup,Poland Cup,cup,,
265
+ pl.super,Poland Supercup,supercup,,
266
+ hu.1,Hungarian Nemzeti Bajnokság I,1-nbi,,
267
+ hu.2,Hungarian Nemzeti Bajnokság II,2-nbii,,
268
+ hu.cup,Hungarian Cup,cup,,
269
+ cz.1,Czech Republic First League,1-firstleague,,
270
+ cz.2,Czech Republic 1. Division,1division,,
271
+ cz.cup,Czech Republic Cup,cup,,
272
+ ch.1,Swiss Super League,1-superleague,,
273
+ ch.2,Swiss Challenge League,2-challengeleague,,
274
+ ch.3,Swiss Promotion League,promotionleague,,
275
+ ch.cup,Swiss Cup,cup,,
276
+ li.cup,Liechtensteiner Pokal,cup,,
277
+ sk.1,Slovakia First League,1-liga1,,
278
+ sk.2,Slovakia Second League,secondleague,,
279
+ sk.cup,Slovakia Cup,cup,,
280
+ si.1,Slovenia First League,1-firstleague,,
281
+ si.2,Slovenia Second League,secondleague,,
282
+ si.cup,Slovenia Cup,cup,,
283
+ hr.1,Croatia HNL,1-hnl,,
284
+ hr.2,Croatia Prva NL,prvanl,,
285
+ hr.3,Croatia Druga NL,druganl,,
286
+ hr.cup,Croatia Cup,cup,,
287
+ hr.super,Croatia Supercup,supercup,,
288
+ ba.1,Bosnia and Herzegovina Premier Liga,1-premierliga,,
289
+ ba.cup,Bosnia and Herzegovina Cup,cup,,
290
+ rs.1,Serbia Super League,1-superleague,,
291
+ rs.cup,Serbia Cup,cup,,
292
+ kos.1,Kosovo Superliga A,1-superliga,,
293
+ al.1,Albania Super League,1-superleague,,
294
+ md.1,Moldova First Division,1-firstdivision,,
295
+ me.1,Montenegro First League,1-firstleague,,
296
+ me.cup,Montenegro Cup,cup,,
297
+ mk.1,North Macedonia First League,1-firstleague,,
298
+ ro.1,Romania Liga 1,1-liga1,,
299
+ ro.2,Romania Liga 2,liga2,,
300
+ ro.3.a,Romania Liga 3 - Seria 1,liga3seria1,,
301
+ ro.cup,Romania Cup,cup,,
302
+ ro.super,Romania Supercup,supercup,,
303
+ bg.1,Bulgaria Premier League,1-premierleague,,
304
+ bg.cup,Bulgaria Cup,cup,,
305
+ bg.super,Bulgaria Supercup,supercup,,
306
+ lv.1,Latvia Higher League,1-higherleague,,
307
+ lt.1,Lithuania First Division,1-firstdivision,,
308
+ ee.1,Estonia Meistriliiga,1-meistriliiga,,
309
+ ee.cup,Estonia Cup,cup,,
310
+ ru.1,Russia Premier League,1-premierliga,,
311
+ ru.2,Russia 1. Division,2-division1,,
312
+ ru.cup,Russia Cup,cup,,
313
+ ru.super,Russia Supercup,supercup,,
314
+ ua.1,Ukraine Premier League,1-premierleague,,
315
+ ua.cup,Ukraine Cup,cup,,
316
+ ua.super,Ukraine Supercup,supercup,,
317
+ by.1,Belarus Premier League,1-premierleague,,
318
+ by.2,Belarus Pervaya Liga,pervayaliga,,
319
+ by.3,Belarus Vtoraya Liga,vtorayaliga,,
320
+ by.cup,Belarus Cup,cup,,
321
+ by.res,Belarus Reserve Liga,reserveliga,,
322
+ am.1,Armenia Premier League,1-premierleague,,
323
+ az.1,Azerbaijan Premier League A,1-premierleague,,
324
+ ge.1,Georgia Premier League A,1-premierleague,,
325
+ world,World Cup,cup,,
326
+ world.quali.europe,World Cup Quali Europe,worldcupqualieurope,,
327
+ world.quali.northamerica,World Cup Quali North/Central America and Caribbean,worldcupqualinorthcentralamericaandcaribbean,,
328
+ world.quali.southamerica,World Cup Quali South America,worldcupqualisouthamerica,,
329
+ world.quali.africa,World Cup Quali Africa,worldcupqualiafrica,,
330
+ world.quali.asia,World Cup Quali Asia (w/ Australia),worldcupqualiasiawaustralia,,
331
+ world.quali.pacific,World Cup Quali South Pacific,worldcupqualisouthpacific,,
332
+ world.quali.playoffs,World Cup Quali Intercontinental Playoffs,worldcupqualiintercontinentalplayoffs,,
333
+ world.confed,Confederations Cup,confederationscup,,
334
+ euro,Euro,euro,1960,
335
+ euro.quali,Euro Quali,euroquali,,
336
+ uefa.nl,UEFA Nations League,nl,2018/19,
337
+ uefa.nl.a,UEFA Nations League A,nla,2018/19,
338
+ uefa.nl.b,UEFA Nations League B,nlb,2018/19,
339
+ uefa.nl.c,UEFA Nations League C,nlc,2018/19,
340
+ southamerica,Copa América,copaamerica,,
341
+ northamerica,Gold Cup,goldcup,,
342
+ asia,Asian Cup,asiancup,,
343
+ africa,Africa Cup of Nations,africacupofnations,,
344
+ paficic,South Pacific Nations Cup,southpacificnationscup,,
345
+ world.club,Club World Cup,clubworldcup,,
346
+ il.1,Israel Premier League,1-premierleague,,
347
+ il.2,Israel National League,nationalleague,,
348
+ il.cup,Israel League Cup National,leaguecupnational,,
349
+ il.cup.lp,Israel League Cup Premier,leaguecuppremier,,
350
+ il.super,Israel Supercup,supercup,,
351
+ ps.1.i,Palestine West Bank Premier League,westbankpremierleague,,
352
+ ps.1.ii,Palestine Gaza Strip Premier League,gazastrippremierleague,,
353
+ ps.cup.gaza,Palestine Gaza Strip Cup,gazastripcup,,
354
+ sa.1,Saudi Arabia Saudi Professional League,saudiprofessionalleague,,
355
+ sa.cup,Saudi Arabia King Cup,kingcup,,
356
+ sa.super,Saudi Arabia Super Cup,supercup,,
357
+ qa.1,Qatar Stars League,starsleague,,
358
+ ir.1,Iran Pro League,proleague,,
359
+ bh.1,Bahrain Premier League,premierleague,,
360
+ om.cup,Oman Sultan Cup,sultancup,,
361
+ concacaf.cl,CONCACAF Champions League,concacafchampionsleague,,
362
+ concacaf.l,CONCACAF League,concacafleague,,
363
+ usmx.cup,US & Mexican Leagues Cup,usmexicanleaguescup,,
364
+ ca.1,Canada Premier League,premierleague,,
365
+ us.1,Major League Soccer,majorleaguesoccer,,
366
+ us.mls.back,MLS is Back Tournament,mlsisbacktournament,,
367
+ us.2,United Soccer League Championship,unitedsoccerleaguechampionship,,
368
+ us.3,United Soccer League One,unitedsoccerleagueone,,
369
+ us.4,United Soccer League Two,unitedsoccerleaguetwo,,
370
+ us.cup,US Open Cup,usopencup,,
371
+ us.ncaa,United States NCAA Men's Soccer,ncaamenssoccer,,
372
+ mx.1,Liga MX,1-ligamx,,
373
+ mx.2,Liga de Expansión MX,2-ligaexpansionmx,2020/21,
374
+ mx.2,Ascenso MX,2-ascensomx,,2019/20
375
+ mx.copa,Mexico Copa MX,copamx,,
376
+ au.1,Australia A-League,aleague,,
377
+ au.2.qpr,Australia Queensland Premier,queenslandpremier,,
378
+ au.cup,Australia FFA Cup,ffacup,,
379
+ ar.1,Argentina Primera Division,1-primeradivision,,
380
+ ar.2,Argentina Primera B Nacional,primerabnacional,,
381
+ ar.3.metro,Argentina Primera B Metropolitana,primerabmetropolitana,,
382
+ ar.3.fed,Argentina Torneo Federal A,torneofederala,,
383
+ ar.4.metro,Argentina Primera C Metropolitana,primeracmetropolitana,,
384
+ ar.4.fed,Argentina Torneo Federal B,torneofederalb,,
385
+ ar.5.metro,Argentina Primera D Metropolitana,primeradmetropolitana,,
386
+ ar.5.fed,Argentina Torneo Federal C,torneofederalc,,
387
+ ar.copa,Argentina Copa Argentina,copaargentina,,
388
+ ar.copa.l,Argentina Copa Superliga,copasuperliga,,
389
+ ar.super,Argentina Supercopa Argentina,supercopaargentina,,
390
+ br.1,Brasileiro Série A,1-seriea,,
391
+ br.2,Brasileiro Série B,2-serieb,,
392
+ br.3,Brasileiro Série C,3-seriec,,
393
+ br.4,Brasileiro Série D,4-seried,,
394
+ br.copa,Copa do Brasil,cup,,
395
+ br.league,Brazil Primeira Liga,primeiraliga,,
396
+ br.rs,Campeonato Gaúcho,gauchao,,
397
+ br.rs.2,Brazil Divisão de Acesso Gaúcha,divisaodeacessogaucha,,
398
+ br.rs.3,Brazil Terceirona,terceirona,,
399
+ br.sp,Campeonato Paulista,paulistao,,
400
+ br.rj,Campeonato Carioca,carioca,,
401
+ br.mg,Campeonato Mineiro,mineiro,,
402
+ br.paranaense,Campeonato Paranaense,paranaense,,
403
+ copa.l,Copa Libertadores,libertadores,,
404
+ copa.s,Copa Sudamericana,sudamericana,,
405
+ recopa,Recopa Sudamericana,recopasudamericana,,
406
+ py.1,Paraguay Primera Division,primeradivision,,
407
+ pe.1,Peru Primera Division,primeradivision,,
408
+ pe.2,Peru Segunda Division,segundadivision,,
409
+ pe.copa.bic,Peru Copa Bicentenario 2019,copabicentenario2019,,
410
+ bo.1,Bolivia Bolivian Primera División,bolivianprimeradivision,,
411
+ cl.1,Chile Primera Divison,primeradivison,,
412
+ cl.2,Chile Primera B,primerab,,
413
+ cl.copa,Copa Chile,copachile,,
414
+ co.1,Colombia Primera A,1-primeraa,,
415
+ co.2,Colombia Primera B,primerab,,
416
+ co.copa,Copa Colombia,copacolombia,,
417
+ co.super,Colombia Super Cup,supercup,,
418
+ uy.1,Uruguay Primera División,primeradivision,,
419
+ uy.copa,Uruguay Cup,cup,,
420
+ ec.1,Ecuador Serie A,seriea,,
421
+ ec.2,Ecuador Serie B,serieb,,
422
+ ve.1,Venezuela Primera División,primeradivision,,
423
+ ve.copa,Copa Venezuela,copavenezuela,,
@@ -0,0 +1,40 @@
1
+ code,name,basename,start_season,end_season
2
+
3
+
4
+ ### quick hack - add more leagues "by hand"
5
+ ### todo - add leagues upstream!!!
6
+
7
+
8
+ mls,Major League Soccer,majorleaguesoccer,,
9
+ mls.back,MLS is Back Tournament,mlsisbacktournament,,
10
+
11
+
12
+ ## first expansion season -> 2020/21 Apertura
13
+ ## last ascenso season -> 2019/20 Clausura
14
+ mx.2.expansion,Liga de Expansión MX,2-ligaexpansionmx,2020/21,
15
+ mx.2.ascenso,Ascenso MX,2-ascensomx,,2019/20
16
+
17
+
18
+ ### add alternate keys for de.4
19
+ de.4.n,Deutsche Regionalliga Nord,4-regionalliga_nord,,
20
+ de.4.no,Deutsche Regionalliga Nordost,4-regionalliga_nordost,,
21
+ de.4.w,Deutsche Regionalliga West,4-regionalliga_west,,
22
+ de.4.sw,Deutsche Regionalliga Südwest,4-regionalliga_suedwest,,
23
+
24
+
25
+ ## italy - update upstream
26
+ ## use seriec_a or seriec-a ???
27
+ # it.3.a,Italian Serie C (North & Central West),3-seriec_a,,
28
+ # it.3.b,Italian Serie C (North & Central East),3-seriec_b,,
29
+ # it.3.c,Italian Serie C (South),3-seriec_c,,
30
+
31
+ ## england
32
+ ## add alternate codes / keys
33
+ eng.fa.cup,English FA Cup,facup,,
34
+ eng.efl.cup,English EFL Cup,eflcup,,
35
+
36
+
37
+ ### club world cup - start with 2000 - why? why not?
38
+ ### fix - upstream uses world.club !!!
39
+ world.clubs,Club World Cup,clubworldcup,2000,
40
+
@@ -0,0 +1,21 @@
1
+ key, zone
2
+
3
+ eg, Africa/Cairo
4
+
5
+ dz, Africa/Algiers
6
+ ma, Africa/Casablanca
7
+
8
+ za, Africa/Johannesburg
9
+
10
+
11
+ ng, Africa/Lagos
12
+
13
+ ke, Africa/Nairobi
14
+
15
+
16
+ ## note: use cairo time zone for int'l africa tournaments for now
17
+ # why? why not?
18
+ afl, Africa/Cairo
19
+ caf.cl, Africa/Cairo
20
+ caf, Africa/Cairo
21
+
@@ -0,0 +1,41 @@
1
+ key, zone
2
+
3
+
4
+ us, America/New_York
5
+ mls, America/New_York
6
+
7
+ ca, America/Toronto
8
+
9
+ mx, America/Mexico_City
10
+
11
+
12
+ cr, America/Costa_Rica
13
+ gt, America/Guatemala
14
+ hn, America/Tegucigalpa
15
+ sv, America/El_Salvador
16
+ ni, America/Managua
17
+
18
+ concacaf, America/Mexico_City ### use mx time - why? why not?
19
+ concacaf.cl, America/Mexico_City
20
+
21
+
22
+ uy, America/Montevideo
23
+ pe, America/Lima
24
+ ec, America/Guayaquil
25
+ bo, America/La_Paz
26
+ cl, America/Santiago
27
+ py, America/Asuncion
28
+ ve, America/Caracas
29
+
30
+ br, America/Sao_Paulo
31
+ ar, America/Argentina/Buenos_Aires
32
+ co, America/Bogota
33
+
34
+
35
+ copa.l, America/Sao_Paulo ### use brazil time - why? why not?
36
+ copa.s, America/Sao_Paulo
37
+
38
+
39
+ southamerica, America/Sao_Paulo ## copa america - use country specific by year - why? why not?
40
+
41
+