sportdb Event Reader Update v1.14 Now Supports "Standard" Club Names (e.g. Manchester United) for Keys (e.g. manutd)

15 views
Skip to first unread message

Gerald Bauer

unread,
Aug 25, 2015, 3:22:02 AM8/25/15
to open...@googlegroups.com
Hello,

FYI: I've updated the sportdb event reader (in the sportdb-models
gem). What's news?

Now you can use the "standard" club names to list all clubs (teams)
for an event (league, cup) etc.

Example - 2014-15/1-premierleague.yml - "old" style before - still working;-):

teams:
- chelsea
- manutd
- mancity
- everton
- tottenham
- westbrom
- arsenal
- westham
- newcastle
- swansea
- stoke
- sunderland
- liverpool
- astonvilla
- southampton
- hull
- crystalpalace
- leicester
- burnley
- qpr

And the new style. Example - 2015-16/1-premierleague.yml:

20 teams:
- Manchester United
- Tottenham Hotspur
- AFC Bournemouth
- Aston Villa
- Everton FC
- Watford FC
- Leicester City
- Sunderland AFC
- Norwich City
- Crystal Palace
- Chelsea FC
- Swansea City
- Arsenal FC
- West Ham United
- Newcastle United
- Southampton FC
- Stoke City
- Liverpool FC
- West Bromwich Albion
- Manchester City

Use

$ gem install sportdb-models

to update to the latest readers/parsers. That's it. Cheers.

PS: Now the English Premier League works as expected. Try:

$ sportdb new en # or
$ sportdb new en2015-16
Reply all
Reply to author
Forward
0 new messages