This project uses Jam API. It turns CSS selectors into a JSON accessible API.
{
"league": "Kreisklasse A Bruchsal",
"saison": "Saison 15/16",
"clubs": [
{
"index": 0,
"value": {
"club": "SV Oberderdingen"
}
},
{...}
],
"club-logos": [
{
"index": 0,
"value": {
"club-logo": "http://www.fussball.de/..."
}
},
{...}
],
"ranks": [...],
"games-played": [...],
"games-won": [...],
"games-draw": [...],
"games-lost": [...],
"goals": [...],
"goals-diff": [...],
"points": [...]
}
This code runs with Node.js. Make sure you have it installed.
- Pull this repository.
$ cd unofficial-fussball-de-api
$ npm install
- Open
router.js
and editvar fussballDeUrl
. This is the URL to your league. - Start Node.js server:
$ node server.js
- Visit localhost:5000.
https://fussball-de-api.herokuapp.com
I've got no affiliation with fussball.de. Changes in the code may break this API.