OpenLigaDB
This is a small package to interact with the OpenLigaDB API.
Installation
Run the following to install:
pip install openligadb
Usage
from openligadb import OpenLigaDB
# Generate Next Matchday for specific team
OpenLigaDB.getnextmatchbyleagueteam(4500, 7)
# Generate Bundesliga Table for specific year
OpenLigaDB.getbltable("bl1", 2021)
# Generate Next Matchday for specific league
OpenLigaDB.getnextmatchbyleagueteam("bl1")
For specific parameters visit https://openligadb.de/
Developing OpenLigaDB
To install OpenLigaDB, along with the tools needed to develop and run tests, run the following in your virtualenv:
$ pip install -e .[dev]