diff --git a/README.md b/README.md index af9db3268414ee6dceb7288d9e28287d7e4e36d0..78904731a2ac2e19d89c00cc043748dc3c7df0ae 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The following commands are extracted from the aforementionned documentation, it ```bash python3 -m venv wikstraktorenv #create wikstraktorenv environment . wikstraktorenv/bin/activate #activate environment -pip install Flask +pip install Flask #install Flask ``` ## Use @@ -46,11 +46,9 @@ The server runs by default on port 5000, you can change that in the ```wikstrakt ./wikstraktor_server.py ``` Then there is a very simple API : -```http -GET server_url/search/<word> #Searches the word in the default wiktionary -GET server_url/search/<wiktlang>/<wordlang>/<word> #Searches the word In wordlang in the wiktlang wiktionary -``` -Both API calls return a json object +* ``GET server_url/search/<word>`` : Searches the word in the default wiktionary +* ``GET server_url/search/<wiktlang>/<wordlang>/<word>`` : Searches the word In wordlang in the wiktlang wiktionary +Both API calls return a json object. ## Licence TODO but will be open source