An open API service indexing awesome lists of open source software.

https://github.com/assios/pgn-to-json

Converts a pgn chess game to json.
https://github.com/assios/pgn-to-json

Last synced: 2 months ago
JSON representation

Converts a pgn chess game to json.

Awesome Lists containing this project

README

        

# pgn-to-json
Converts a pgn chess game to json.

# Usage

Just pass in the .pgn files you want to convert as args. One .pgn file may contain many games. If you want to convert the pgn files "games.pgn" and "magnus-carlsen-vs-sipke-ernst.pgn", run:

```
python pgn_to_json.py games magnus-carlsen-vs-sipke-ernst
```