API Docs --> https://zufallsworte.herokuapp.com/
Return 4 random german word
https://zufallsworte.herokuapp.com/zufallswoerter/4
--> {"words":["Katze","Maus","fliegen","schön"]}
Return 6 random german words starting with au
https://zufallsworte.herokuapp.com/anfangsbuchstaben/au/6
--> {"words":["Ausbildung","Aufstellung","aufstehen","Ausweis","aufrunden","Ausgang"]}
Return 3 random german nouns that have the letters "ee" in them
https://zufallsworte.herokuapp.com/substantiv_enthaelt/ee/3
--> {"words": ['Meer', 'Idee', 'Ostsee'] }
-
Git clone the repository to your Desktop and install uvicorn and fast api
git clone https://github.com/MaximilianFreitag/zufallsworte-API.git pip install uvicorn pip install fastapi
-
cd into the folder "zufallsworte-API" on your desktop
cd zufallsworte-API
-
Open up the terminal and run following command and visit the resulting localhost URL
uvicorn main:app --reload
To-Do:
- None
__________________________________________________
- Placeholder
- Placeholder
#API #Duden #Wortgenerator #Python #Informatik #JSON
This project falls under the MIT license.