football.json - Football Data in JSON - Request for Comments on Format

66 views
Skip to first unread message

Gerald Bauer

unread,
Sep 17, 2015, 1:15:53 PM9/17/15
to open...@googlegroups.com
Hello,

I've started a new football.json repo [1]. The idea is to offer -
surprise, surprise -football data in JSON.

What's different?

The idea is that the JSON gets (auto-)generated from the football.db
datasets.Thus, if you want to change anything in the JSON. Don't.
Change the source and (re)generate the JSON.

To start off the new repo includes the (complete) seaons's match
schedule in a single file and as an extra file all clubs.


Bundesliga 2015/16 Match Schedule Example - 2015-16/de.1.json [2]:

{
"name": "Deutsche Bundesliga 2015/16",
"rounds": [
{
"name": "1. Spieltag",
"matches": [
{
"date": "2015-08-14",
"team1": {
"key": "bayern",
"name": "Bayern München",
"code": "FCB"
},
"team2": {
"key": "hamburg",
"name": "Hamburger SV",
"code": "HSV"
},
"score1": 5,
"score2": 0
},
{
"date": "2015-08-15",
"team1": {
"key": "bremen",
"name": "Werder Bremen",
"code": "WBM"
},
"team2": {
"key": "schalke",
"name": "FC Schalke 04",
"code": "F04"
},
"score1": 0,
"score2": 3
},
...
]
}
]
}


Bundesliga 2015/16 Clubs Example - 2015-16/de.1.clubs.json [3]:

{
"name": "Deutsche Bundesliga 2015/16",
"clubs": [
{
"key": "bayern",
"name": "Bayern München",
"code": "FCB"
},
{
"key": "hamburg",
"name": "Hamburger SV",
"code": "HSV"
},
...
]
}


That's it. If you have any comments, suggestions about the format
(or the project).
Now is good time to join the discussion ;-)

Cheers.

[1] github.com/openfootball/football.json
[2] github.com/openfootball/football.json/blob/master/2015-16/de.1.json
[3] github.com/openfootball/football.json/blob/master/2015-16/de.1.clubs.json

Gerald Bauer

unread,
Sep 17, 2015, 6:54:38 PM9/17/15
to open...@googlegroups.com
Hello,
If anyone follows along I've added some more seasons (e.g. 2013/14
[1], 2014/15 [2], 2015/16 [3], etc.) and added the English Premier
League, the Deutsche Bundesliga and the Österr. Bundesliga.

The repo structure (designed for requests) is now:

football.json/
├───2011-12/
│ at.1.clubs.json
│ at.1.json

├───2012-13/
│ at.1.clubs.json
│ at.1.json
│ de.1.clubs.json
│ de.1.json
│ en.1.clubs.json
│ en.1.json

├───2013-14/
│ at.1.clubs.json
│ at.1.json
│ de.1.clubs.json
│ de.1.json
│ en.1.clubs.json
│ en.1.json

├───2014-15/
│ at.1.clubs.json
│ at.1.json
│ de.1.clubs.json
│ de.1.json
│ en.1.clubs.json
│ en.1.json

└───2015-16/
at.1.clubs.json
at.1.json
de.1.clubs.json
de.1.json
en.1.clubs.json
en.1.json


Cheers.

[1] github.com/openfootball/football.json/tree/master/2013-14
[2] github.com/openfootball/football.json/tree/master/2014-15
[3] github.com/openfootball/football.json/tree/master/2015-16
Reply all
Reply to author
Forward
0 new messages