Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wikstraktor
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lex gaMe
wikstraktor
Commits
e9cf4ddf
Commit
e9cf4ddf
authored
2 years ago
by
Mathieu Loiseau
Browse files
Options
Downloads
Patches
Plain Diff
README
parent
b38252cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-6
4 additions, 6 deletions
README.md
with
4 additions
and
6 deletions
README.md
+
4
−
6
View file @
e9cf4ddf
...
@@ -26,7 +26,7 @@ The following commands are extracted from the aforementionned documentation, it
...
@@ -26,7 +26,7 @@ The following commands are extracted from the aforementionned documentation, it
```
bash
```
bash
python3
-m
venv wikstraktorenv
#create wikstraktorenv environment
python3
-m
venv wikstraktorenv
#create wikstraktorenv environment
.
wikstraktorenv/bin/activate
#activate environment
.
wikstraktorenv/bin/activate
#activate environment
pip
install
Flask
pip
install
Flask
#install Flask
```
```
## Use
## Use
...
@@ -46,11 +46,9 @@ The server runs by default on port 5000, you can change that in the ```wikstrakt
...
@@ -46,11 +46,9 @@ The server runs by default on port 5000, you can change that in the ```wikstrakt
./wikstraktor_server.py
./wikstraktor_server.py
```
```
Then there is a very simple API :
Then there is a very simple API :
```
http
*
``GET server_url/search/<word>``
: Searches the word in the default wiktionary
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
GET server_url/search/<wiktlang>/<wordlang>/<word> #Searches the word In wordlang in the wiktlang wiktionary
Both API calls return a json object.
```
Both API calls return a json object
## Licence
## Licence
TODO but will be open source
TODO but will be open source
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment