Get games from major chess sites.

This isn't part of the library, just a demo notebook of how to access games online.

import lichess.api
from lichess.format import SINGLE_PGN
user = "DrNykterstein" # Magnus Carlsen! You can change this to any lichess user.
pgn = lichess.api.user_games(user, max=5, format=SINGLE_PGN)
with open("data/magnus.pgn", "w") as f:
    f.write(pgn)