Hello,
I've updated the complete football.db Gem Family [1] for the Season 2020/21.
The football.db gems incl. zero-config ready-to-use datasets / classes
for all FIFA countries (240+), the world's top football leagues &
clubs and more.
If your favorite league or clubs is missing, please tell. Try, for example:
m = League.match( 'Premier League' )
m.size # 7 league matches found
#=> 7
m[0].name; m[0].country
#=> "English Premier League", "England"
m[1].name; m[1].country
#=> "Welsh Premier League", "Wales"
m[2].name; m[2].country
#=> "Russian Premier League", "Russia"
# ...
# - or -
m = Club.match( 'Arsenal' )
m.size # 3 club matches found
#=> 3
m[0].name; m[0].city; m[0].country
#=> "Arsenal FC", "London", "England"
m[1].name; m[1].city; m[1].country
#=> "Arsenal Tula", "Tula", "Russia"
m[2].name; m[2].city; m[2].country
#=> "Arsenal de Sarandí", "Sarandí", "Argentina"
Enjoy the beautiful game with ruby. Happy data wrangling. Cheers. Prost.