From d3861e8df07f456a6005a9ff712374bda18f7f49 Mon Sep 17 00:00:00 2001 From: DHTMLGoodies Date: Mon, 28 Dec 2015 16:11:55 +0100 Subject: [PATCH] Readme updates --- README.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/README.md b/README.md index 3934846..f1d3471 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ This is the chess parser used in DHTML Chess at dhtml-chess.com Example of use: +1) Import games from PGN file: + ```PHP setPgnContent($pgn); + $game = $parser->getFirstGame(); + echo json_encode($game); + +```