Confed Brazil 2013 - From Plain Text Fixtures to Structured Data and HTTP JSON APIs in Minutes

Hello,

I’ve updated the plain text football.db fixtures for the
Confederations Cup 2013 in Brazil[1].

The sportdb Ruby gem[2] lets you load the plain text fixtures into
your database of choice (e.g SQLite, PostgreSQL, etc.) and lets you
use ActiveRecord models such as Event, Team, Round, Group, Game, etc.
for

  • web pages (e.g. Confederations Cup 2013 Schedule[3]) or
  • HTTP JSON APIs (e.g. all teams[4], all rounds[5], semi final
    matches e.g. Brazil-Uruguay; Spain-Italy etc.) or
  • console scripts etc.

All plain text fixture, Ruby code and samples public domain.

Enjoy. Cheers.

[1] https://github.com/openfootball/world/blob/master/2013/conf.txt
[2] File: README — Documentation for sportdb (1.6.18)
[3] http://footballdb.herokuapp.com/world.conf.2013
[4] http://footballdb.herokuapp.com/api/v1/event/world.conf.2013/teams
[5] http://footballdb.herokuapp.com/api/v1/event/world.conf.2013/rounds
[6] http://footballdb.herokuapp.com/api/v1/event/world.conf.2013/round/4