Skip to content

bigfuckinalgo/fussballapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unofficial Fussball.de API

This project uses Jam API. It turns CSS selectors into a JSON accessible API.

JSON Output

{
    "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": [...]      
  }  

How to get started

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 edit var fussballDeUrl. This is the URL to your league.
  • Start Node.js server: $ node server.js
  • Visit localhost:5000.

See in Action

https://fussball-de-api.herokuapp.com

A piece of note

I've got no affiliation with fussball.de. Changes in the code may break this API.

About

..because widgets suck.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%