Skip to content

Public API Endpoints

Ben Olden-Cooligan edited this page Jan 24, 2018 · 4 revisions

Get Season Games

GET

/api/get_season_games/?league={league_tag}&season={season_tag}

e.g. https://www.lichess4545.com/api/get_season_games/?league=team4545&season=9

Finds the games matching the given parameters.

Result format:

{
    "games": [{
        "league": "Lichess4545 League",
        "season": "Season 9",
        "round": 5,
        "white_team": "The Little Forkers",
        "black_team": "Knife f5",
        "white": "brianmcdonald",
        "black": "cyanfish",
        "game_id": "FVDwoKeI",
        "result": "0-1"
    }, ...]
}
Clone this wiki locally